DeviceCapabilities Class

Methods that report whether a capability is present in a given device and interface version

Definition

Namespace: ASCOM.Common.DeviceInterfaces
Assembly: ASCOM.Common (in ASCOM.Common.dll) Version: 2.2.1+77356f79b05b579f6d860a4edd5934fda9fe29e4
C#
public static class DeviceCapabilities
Inheritance
Object    DeviceCapabilities

Methods

HasAsyncSwitch Indicates whether this Switch interface version supports asynchronous Switch methods
HasCalibratorChanging Indicates whether this CoverCalibrator interface version supports the CoverCalibrator.CalibratorChanging property
HasConnectAndDeviceState(NullableDeviceTypes, Int16) Returns if the interface version of the specified device type supports Connect / Disconnect and DeviceState
HasConnectAndDeviceState(NullableDeviceTypes, Int32) Returns if the interface version of the specified device type supports Connect / Disconnect and DeviceState
HasConnected(NullableDeviceTypes, Int16) Returns for all devices except IFocuserV1 devices that do not have the Connected property
HasConnected(NullableDeviceTypes, Int32) Returns for all devices except IFocuserV1 devices that do not have the Connected property
HasCoverMoving Indicates whether this CoverCalibrator interface version supports the CoverCalibrator.CoverMoving property Returns if the device has a Platform 7 or later interface that supports the CoverCalibrator.CoverMoving property
InterfaceHasMember Determine whether a given member is present in the specified device type and interface version.
IsPlatform6Interface(NullableDeviceTypes, Int16) Returns if the interface version of the specified device type is a Platform 6 interface version
IsPlatform6Interface(NullableDeviceTypes, Int32) Returns if the interface version of the specified device type is a Platform 6 interface version
IsPlatform7OrLater(NullableDeviceTypes, Int16) Indicates whether the interface version of the specified device type is Platform 7 or later
IsPlatform7OrLater(NullableDeviceTypes, Int32) Indicates whether the interface version of the specified device type is Platform 7 or later
IsSupportedInterface Returns if the interface version of the specified device type is a Platform 6 interface version
IsValidAscomInterface Returns if the interface version of the specified device type is a valid ASCOM interface version on any Platform
VersionIntroduced Return the interface version in which a member was introduced

Fields

InitialPlatform7Interface Dictionary of the interface versions at launch of Platform 7
LatestInterface Dictionary of the latest interface versions supported by Platform 7
LatestPlatform6Interface Dictionary of the latest interface versions supported by Platform 6

Version Information

.NET Standard

Supported in: 2.0

See Also