Search code examples
c#winformsusblibusb

Accessing a USB port in C#


In a Windows command-line window I can type:

c:\Windows\system32>echo Hello > \\.\LCLD9\ 

And output "Hello" to a USB LED display (logic controls lt9000U). How would this be handled with C# in a Windows Forms application?


Solution

  • As far as I know there are no built in piping/cmd features in C#. You will need to pass args to cmd - see related question.