Hi,
How can I control USB port? I am developing a machine in which I used to switch on a LED, So I need to send a power signal How can I send a power signal in USB using c# code?
USB Controller
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Candy Brown24 pointsPosted Dec 2, 2014, 11:02 PM EST
Unfortunately there is no native .NET library that offers a solution for this so you should search for some free 3rd party component like SharpUSBLib or LibUsbDotNet.
I'm afraid I cannot recommend you any because I didn't use them, but I will add that at some point I was trying to create my own handler for USB devices. It's not a easy task to achieve but if interested note that in order to accomplish this you would need to start with a System.IO.Ports.SerialPort.