ICameraV4Connected Property

Set True to connect to the device hardware. Set False to disconnect from the device hardware. You can also read the property to check whether it is connected. This reports the current hardware state.

Definition

Namespace: ASCOM.DeviceInterface
Assembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 7.1.3+4851.c5da65c2b
C#
bool Connected { get; set; }

Property Value

Boolean
true if connected to the hardware; otherwise, false.

Remarks

See this link for the canonical definition, which may include further information and implementation requirements: Canonical Definition

Exceptions

DriverExceptionAn error occurred that is not described by one of the more specific ASCOM exceptions. Include sufficient detail in the message text to enable the issue to be accurately diagnosed by someone other than yourself.

Revision History

DateVersionDescription
ICameraPlatform 5.0Member added.
ICameraV4Platform 7.0Clients should use the Connect() / Disconnect() mechanic rather than setting Connected TRUE when accessing ICameraV4 or later devices.

See Also