Sets default values
The constructor reads default setting from a SerialPort object. Each potentially available port name returned by SerialPort.GetPortNames() is opened and added to Serial.COMPORTS only, if the opening succeeds. Therefore serial ports opened by another applications, not accessible due to security reasons or currently not existing in the system are not added to Serial.COMPORTS.
Serial Class | serial Namespace