BlackSharp.IO.HID 1.3.2

Prefix Reserved
dotnet add package BlackSharp.IO.HID --version 1.3.2
                    
NuGet\Install-Package BlackSharp.IO.HID -Version 1.3.2
                    
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="BlackSharp.IO.HID" Version="1.3.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BlackSharp.IO.HID" Version="1.3.2" />
                    
Directory.Packages.props
<PackageReference Include="BlackSharp.IO.HID" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add BlackSharp.IO.HID --version 1.3.2
                    
#r "nuget: BlackSharp.IO.HID, 1.3.2"
                    
#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.
#:package BlackSharp.IO.HID@1.3.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=BlackSharp.IO.HID&version=1.3.2
                    
Install as a Cake Addin
#tool nuget:?package=BlackSharp.IO.HID&version=1.3.2
                    
Install as a Cake Tool

<h1 align="center">BlackSharp.IO.HID</h1>

<p align="center"> <img src="https://raw.githubusercontent.com/Blacktempel/BlackSharp/master/Assets/BlackSharpFull.png" width="128" height="128" alt="BlackSharp.IO.HID logo"/> </p>

NuGet NuGet downloads .NET Framework .NET GitHub Sponsors PayPal License

BlackSharp.IO.HID discovers HID interfaces and exchanges raw HID reports.

Features

  • Enumeration of currently available HID interfaces
  • Vendor and product IDs, device paths, report lengths and other metadata when available
  • Input and output reports through HIDStream
  • Feature reports through GetFeature and SetFeature
  • Worker-based reads and writes with configurable timeouts
  • Native I/O cancellation during stream disposal

Supported .NET versions

.NET version Support
.NET Framework 4.7.2 ✅
.NET Framework 4.8.1 ✅
.NET Standard 2.0 ✅
.NET 8 ✅
.NET 9 ✅
.NET 10 ✅
.NET 11 ✅

NuGet

dotnet add package BlackSharp.IO.HID

Supported platforms

Operating system Support Implementation
Windows ✅ SetupAPI enumeration and native HID handles
Linux ✅ sysfs discovery and /dev/hidraw* access
Other ❌ Not implemented

The application needs permission to open the selected HID interface. This may require elevated privileges.

Usage

List the HID interfaces exposed by the operating system:

using BlackSharp.IO.HID;

foreach (var device in HIDDeviceEnumerator.GetDevices())
{
    Console.WriteLine($"{device.VendorID:X4}:{device.ProductID:X4} {device.ProductName}");
}

Open a selected interface through HIDDevice.Open() or TryOpen(out stream). Dispose the stream when you finish.

Support and license

Report issues in the BlackSharp issue tracker. Licensed under the Mozilla Public License 2.0.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net11.0 is compatible. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 was computed.  net481 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.2 72 11/30/2026
1.3.1 103 11/24/2026
1.3.0 112 11/21/2026
1.2.12 115 11/16/2026
1.2.11 122 11/10/2026
1.2.10 96 11/6/2026
1.2.9 98 11/4/2026
1.2.8 118 11/1/2026
1.2.7 107 10/30/2026
1.2.6 113 10/28/2026
1.2.5 124 10/23/2026
1.2.4 112 10/22/2026
1.2.3 137 10/11/2026
1.2.2 147 9/23/2026
1.2.1 162 9/14/2026
1.2.0 170 8/21/2026