COM over USB with .NET to interface with 3rd party hardware
Question
I have a project where I have to interact with two different devices that supply data via COM over USB. The client is telling me that this can be done easily with HyperTerminal but I am unfamiliar with it. I am coding with .NET 2.0 (but can use 3.5 if necessary).
What would be the easiest/quickest way to obtain the data from these hardware devices? Is there a control? Library? Something else, that is standard?
Solution
You want System.IO.Ports.SerialPort. You can then use Read(), ReadLine(), etc. to read data from the 3rd party hardware.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow