Click or drag to resize

SerialPortName Property

Sets the ASCOM serial port name as a string

Namespace:  ASCOM.Utilities
Assembly:  ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 3c9121baba46811fe6e53a58a05935662261416d
public string PortName { get; set; }

Property Value

Type: String
Serial port name to be used

Return Value

Type: String
Current serial port name
This property allows any serial port name to be used, even if it doesn't conform to a format of COMnnn If the required port name is of the form COMnnn then Serial.Port=nnn and Serial.PortName="COMnnn" are equivalent.
See Also