I am reading the traffic from a USB port using the event DataReceived from the serial port. My program is in c#. Then, usb cable is unplugged and then replugged. I can detect th