I need to enumerate COM Port Details.Specifi cally i want to know USB Serial Port Information(USB Availability,St atus, StatusInfo,Name ,Description ).
If you have a USB serial port, it will show up just like the other serial ports.
string mySerialPortNam es = System.IO.Ports .SerialPort.Get PortNames();
If you want more hardware level information, you can probably get it from WMI. Check out the WMICodeCreator to search into the details
Thank you for your info..,
I already tried WMI for for enuerate USB port info. But i am notable to get these(USB Port Availability, Status, Name, Which Como port currently Used) Information.
What do you mean "USB Port availablity"? There is either something plugged into the usb port, or there isn't.
If you want the SERIALPORT availability, try to connect to it. It will say it's in use if it is.
What do you mean "USB Port availablity"? There is either something plugged into the usb port, or there isn't.
If you want the SERIALPORT availability, try to connect to it. It will say it's in use if it is.
Comment