DeviceCapabilitiesHasConnectAndDeviceState(NullableDeviceTypes, Int32) Method
Returns if the interface version of the specified device type supports Connect / Disconnect and DeviceState
Namespace: ASCOM.Common.DeviceInterfacesAssembly: ASCOM.Common (in ASCOM.Common.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static bool HasConnectAndDeviceState(
DeviceTypes? deviceType,
int interfaceVersion
)
Public Shared Function HasConnectAndDeviceState (
deviceType As DeviceTypes?,
interfaceVersion As Integer
) As Boolean
- deviceType NullableDeviceTypes
- Device type.
- interfaceVersion Int32
- Interface version of this device (Int32)
Boolean when the interface version supports Connect / Disconnect
Supported in: 2.0