5
Answers

Get the name of the com port and the devices connected to it

Hi Friends,

I'm trying to get the list of com port name and the device's name connected to it(eg. COM3- Hauewei Modem 3G). I tried the following where I get only the list of com ports.
string [] ports = SerialPort.GetPortNames();
But I need get both the port name along with the device name.
Help me out friends!!

Thanks in advance for your valuable help.

Regards,
Srividhya
Answers (5)