This library enables you to enumerate and communicate with Hid compatible USB devices in .NET. It offers synchronous and asynchronous read and write functionality as well as notification of insertion and removal of a device. This library works on x86 and x64.
Note: There has been quite a bit of interest in this little library over the years but unfortunately I'm not able to support it at this time. I'm also unable to answer questions about using it with different devices. So you're on your own if you decide to use it. Please feel free to fork it or send me a pull request if you would like to contribute.
PM> Install-Package hidlibrary
Thanks to JetBrains for providing OSS licenses for R# and dotTrace!
If your interested in HID development here are a few invaluable resources:
- Jan Axelson's USB Hid Programming Page - Excellent resource for USB Hid development. Full code samples in a number of different languages demonstrate how to use the Windows setup and Hid API.
- Jan Axelson's book 'USB Complete' - Jan Axelson's guide to USB programming. Very good covereage of Hid. Must read for anyone new to Hid programming.