Gets or sets the connected state of the ASCOM serial port.

Namespace: ASCOM.Utilities.Interfaces
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
bool Connected { get; set; }
Visual Basic
Property Connected As Boolean
	Get
	Set
Visual C++
property bool Connected {
	bool get ();
	void set (bool value);
}

Field Value

Connected state of the serial port.

Return Value

True if the serial port is connected.

Remarks

Set this property to True to connect to the serial (COM) port. You can read the property to determine if the object is connected.

See Also