HIDSharp is a cross-platform .NET wrapper for Windows, MacOS, and Linux (hidraw) USB HID APIs.

There is a newer version of this package available.
See the version list below for details.
Install-Package HidSharp -Version
dotnet add package HidSharp --version
<PackageReference Include="HidSharp" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HidSharp --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes (April 21, 2013):
 Added missing XML documentation file to the archive.

1.4 (April 20, 2013):
 Documented the most important classes.
 Fixed a problem with output reports on 64-bit Windows.
 Fixed a timeout bug on Windows.
 Parallelized device enumeration.
 Reordered platform detection to prevent binary planting on Windows.

1.3 (February 23, 2013):
 Fixed Linux libudev reference to not require developer package symlinks.
1.2 (October 16, 2012):
 Fixed MacOS support.

1.1 (July 28, 2012):
 Added experimental MacOS and Linux support.
 Added experimental report descriptor parsing.
1.0 (August 28, 2010):
 Initial release.


This package has no dependencies.

Showing the top 4 GitHub repositories that depend on HidSharp:

Repository Stars
Windows Driver and XInput Wrapper for Sony DualShock 3/4 Controllers
Unified lighting effects across multiple brands and various games.
The one-stop SDK for RGB-peripherals
A simple .NET wrapper for Stream Deck

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
2.1.0 6,013 5/4/2019
2.0.8 5,318 1/21/2019
2.0.5 2,095 11/11/2018
2.0.2 6,285 5/5/2018
2.0.1 1,453 4/11/2018
1.5.0 23,720 5/18/2013 563 4/21/2013
1.4.0 578 4/20/2013
1.3.0 590 2/23/2013
Show less