DevicesHasConnectAndDeviceState(AscomDeviceTypes, Int16) Method

Returns if the device has a Platform 7 or later interface that supports Connect / Disconnect and DeviceState

Definition

Namespace: ASCOM.Utilities
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 7.1.3+4851.c5da65c2b
C#
public static bool HasConnectAndDeviceState(
	AscomDeviceTypes deviceType,
	short driverInterfaceVersion
)

Parameters

deviceType  AscomDeviceTypes
Device type.
driverInterfaceVersion  Int16
Interface version of this driver (Int16)

Return Value

Boolean
True if the feature is supported

See Also