Click or drag to resize
FocuserLink Property
State of the connection to the focuser.

Namespace: ASCOM.DriverAccess
Assembly: ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 6.0.0.0 (6.2.0.2774)
Syntax
public bool Link { get; set; }

Property Value

Type: Boolean

Implements

IFocuserV2Link
Remarks
Set True to start the connection to the focuser; set False to terminate the connection. The current connection status can also be read back through this property. An exception will be raised if the link fails to change state for any reason.

Note

The FocuserV1 interface was the only interface to name its "Connect" method "Link" all others named their "Connect" method as "Connected". All interfaces including Focuser now have a Connected method and this is the recommended method to use to "Connect" to Focusers exposing the V2 and later interfaces.

Applications using DriverAccess can always use Connected because DriverAccess implements Connected using the Link property for V1 drivers but applications that call the driver directly should check the InterfaceVersion property and call Link for V1 drivers.

See Also