USB Complete: The Developer’s guide (Fourth edition)
The book presents example code for accessing USB devices using Visual Basic .NET and Visual C# .NET. The example code shows how to detect device arrival and removal and how to transfer vendor-defined data using the human interface device class and Microsoft’s WinUSB driver. Also covered is how to write device firmware to communicate with the USB host.