Serial Port Descriptions
-
Hi Everyone, Bit of an obscure question but i can't find an answer elsewhere online so i thought I'd post here. I'd like to know if there's a way to retrieve a serial port description, as found in Device Manager, i.e. : Communications Port (COM1) I can easily get the serial port name using the static SerialPort method GetPortNames() (COM1, COM2 etc) but I cannot seem to find a way of getting the extra description information. Id like to know because our support team regularly have to launch device manager to check which comm port our USB-Serial converter has been assigned and getting garage monkeys to launch device manager over the telephone is sometimes harder than it sounds! Thanks for looking! Chris.
-
Hi Everyone, Bit of an obscure question but i can't find an answer elsewhere online so i thought I'd post here. I'd like to know if there's a way to retrieve a serial port description, as found in Device Manager, i.e. : Communications Port (COM1) I can easily get the serial port name using the static SerialPort method GetPortNames() (COM1, COM2 etc) but I cannot seem to find a way of getting the extra description information. Id like to know because our support team regularly have to launch device manager to check which comm port our USB-Serial converter has been assigned and getting garage monkeys to launch device manager over the telephone is sometimes harder than it sounds! Thanks for looking! Chris.
as far as i know you cannot retrieve additional information about serial ports with the System.IO.Ports classes, but you can use WMI to get the information you need. check out the win32_serialport class.
/******************************************** * dies & das - dot & net * http://blog.joachim.at ********************************************/
-
Hi Everyone, Bit of an obscure question but i can't find an answer elsewhere online so i thought I'd post here. I'd like to know if there's a way to retrieve a serial port description, as found in Device Manager, i.e. : Communications Port (COM1) I can easily get the serial port name using the static SerialPort method GetPortNames() (COM1, COM2 etc) but I cannot seem to find a way of getting the extra description information. Id like to know because our support team regularly have to launch device manager to check which comm port our USB-Serial converter has been assigned and getting garage monkeys to launch device manager over the telephone is sometimes harder than it sounds! Thanks for looking! Chris.
I'd use Remote Desktop.