Hi,

I am developing an application where I have to determine if an USB Connector assigned to a COM Port has been pulled out.

The obvious approach which I tried was to detect the available COM Ports using SerialPort.GetPortNames(). Unfortunately, even after physically pulling it out, the Port Name list still shows the same port being present.
Obviously, any operations would now fail as the connection is no longer available, but how to do this without making any communication, that is, without sending or receiving data.