Serial port and GPS

Serial Constructor 

Sets default values

[Visual Basic]
Public Sub New()
[C#]
public 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