Answer the question
In order to leave comments, you need to log in
How to track a COM device connection in C#?
Save.
There is a device that creates a virtual COM port in Windows (the device itself is connected via USB and has its own driver), how can I find out from the C # application that the device is connected to the computer?
As a matter of fact the task such when the device is connected on the form the button becomes available when is disconnected, the button, respectively, disappears or is disconnected.
PS Device Opticon CLH-3001
Answer the question
In order to leave comments, you need to log in
This can be done using WMI. You can subscribe to the connection event of new devices.
Small example karlagius.com/2009/03/04/keeping-track-of-usb-devi...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question