Serial port and GPS

Serial Static Constructor 

Sets default values

[Visual Basic]
Private Shared Sub New()
[C#]
static Serial();

Remarks

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.

See Also

Serial Class | serial Namespace