How do I know if a listed COM port number is used by a USB device?

  • Thread starter Thread starter jaybeev
  • Start date Start date
J

jaybeev

Guest
Hi,

I am using serial cables and USB-to-Serial adapter cables. When I connect them to the PC, my application detects them and lists them as serial ports with COM numbers. I used SerialPort.GetPortNames() to do this.

At any time, I may have both serial and USB cables connected. My question is, if I have a list of several ports (COM ports), how can I determine if the COM port is actually a USB device?

Thanks.

Continue reading...
 
Back
Top