I would like now if you can allow the C # application to start only when you insert a USB device? The USB device is a Pololu microcontroller. At the moment, I am viewing if it is connected via a serial channel, if Pololu sends "Char", as I programmed it. But sometimes Pololu connects, but in the part of the loop where Char is not sent, so in this case the application does not open even when pololu is connected. Is there a more reliable way to detect it?
source share