Devices Class

Device type name functions

Definition

Namespace: ASCOM.Utilities
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 7.1.3+4851.c5da65c2b
C#
public static class Devices
Inheritance
Object    Devices

Methods

DeviceTypeNames Returns a list of valid ASCOM device type names
HasAsyncSwitch Returns if the device has a Platform 7 or later interface that supports asynchronous Switch methods
HasConnectAndDeviceState(AscomDeviceTypes, Int16) Returns if the device has a Platform 7 or later interface that supports Connect / Disconnect and DeviceState
HasConnectAndDeviceState(AscomDeviceTypes, Int32) Returns if the device has a Platform 7 or later interface that supports Connect / Disconnect and DeviceState
IsValidDeviceType Confirms that the supplied device type is a valid ASCOM device type.
IsValidDeviceTypeName Confirms that the supplied device type string name is valid
ToDeviceString Extension method that converts a AscomDeviceTypes enum value to a string
ToDeviceType Extension method that converts a string device name to a AscomDeviceTypes enum value.

See Also