SerialPort Property
Gets or sets the number of the ASCOM serial port (Default is 1, giving COM1 as the serial port name).
Namespace: ASCOM.UtilitiesAssembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 7.1.3+4851.c5da65c2b
public int Port { get; set; }
Public Property Port As Integer
Get
Set
public:
virtual property int Port {
int get () sealed;
void set (int value) sealed;
}
Int32COM port number of the ASCOM serial port.
Int32Integer, number of the ASCOM serial port
This works for serial port names of the form COMnnn. Use PortName if your COM port name does not fit the form COMnnn.