RJCP.IO.Device 0.8.1

dotnet add package RJCP.IO.Device --version 0.8.1                
NuGet\Install-Package RJCP.IO.Device -Version 0.8.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RJCP.IO.Device" Version="0.8.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RJCP.IO.Device --version 0.8.1                
#r "nuget: RJCP.IO.Device, 0.8.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install RJCP.IO.Device as a Cake Addin
#addin nuget:?package=RJCP.IO.Device&version=0.8.1

// Install RJCP.IO.Device as a Cake Tool
#tool nuget:?package=RJCP.IO.Device&version=0.8.1                

RJCP.DeviceMgr

This library implements mechanisms to enumerate over the devices that are present in your Windows System. It uses Win32 API from CfgMgr32.dll which is available since Windows 2000. This code is highly compatible and is tested with Windows XP to Windows 11.

The current implementation provides readonly information. It is not designed that you can eject or modify the devices in the system.

It is called RJCP.IO.DeviceMgr, as it provides information very similar to when you manage your devices from the Windows Desktop and view the details of individual devices.

1. Testing

To quickly test the usage of the library, run the executable DeviceInfoDump. This gets the root tree node and dumps all information about the device tree to the console. This gives you an idea of the information that can be obtained.

2. Using in Your Own Software

Import the library into your project.

To set up logging, to see any errors or warnings, see Logging.md, and the example program DeviceInfoDump which is a minimal program for dumping information.

3. Release History

Version 0.8.1

Quality:

  • Add README.md to NuGet Package (DOTNET-813)
  • Update from .NET 4.5 to .NET 4.6.2 (DOTNET-827)
  • Update from .NET Standard 2.1 to .NET 6.0 (DOTNET-936, DOTNET-937, DOTNET-938, DOTNET-942, DOTNET-945)
  • Update to .NET 8.0 (DOTNET-982, DOTNET-983, DOTNET-989, DOTNET-990)

Version 0.8.0

  • Initial Release
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on RJCP.IO.Device:

Package Downloads
RJCP.SerialPortStream

An independent implementation of System.IO.Ports.SerialPort and SerialStream for better reliability and maintainability.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.8.1 11,386 3/9/2024
0.8.0 1,665 6/9/2023