usb windriver API
sa开发者_Python百科mple code of reading data from usb port in C#.net by windriver API
Assuming that by windriver API you mean the WinDriver product by Jungo. If you go to this page Sample Code (WinDriver) it says that there should be C# samples installed when you install the toolkit itself.
I've never used WinDriver myself but I'd suggest you go searching through the installed files and see what you find.
Otherwise, if you're just looking for generic C# code to communicate with a USB device and assuming it's a HID, you can find an article on codeproject that should be helpful: A USB HID Component for C#
精彩评论