DeviceCapabilitiesHasConnectAndDeviceState(NullableDeviceTypes, Int16) 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: 4.0.0+77e18c564bf9ecdb0ef30166e894390d1b7d077c
public static bool HasConnectAndDeviceState(
DeviceTypes? deviceType,
short interfaceVersion
)
Public Shared Function HasConnectAndDeviceState (
deviceType As DeviceTypes?,
interfaceVersion As Short
) As Boolean
- deviceType NullableDeviceTypes
- Device type.
- interfaceVersion Int16
- Interface version of this device (Int16)
Boolean when the interface version supports Connect / Disconnect
Supported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10