OnPortAdded Event

The OnPortAdded event occurs when a new serial port is added to the system, provided EnableAutoDetectPorts property is set to TRUE.

 
void OnPortAdded(
  BSTR Port  
);

Parameters
  Port
        A name of a newly added serial port. 


See also
EnableAutoDetectPorts property