Click or drag to resize

Devices Class

Device type name functions
Inheritance Hierarchy
SystemObject
  ASCOM.DeviceInterfaceDevices

Namespace: ASCOM.DeviceInterface
Assembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 6.0.0.0 (6.6.9999.9999)
Syntax
public static class Devices

The Devices type exposes the following members.

Methods
 NameDescription
Public methodStatic memberDeviceTypeNames Returns a list of valid ASCOM device type names
Public methodStatic memberIsValidDeviceType Confirms that the supplied device type is a valid ASCOM device type.
Public methodStatic memberIsValidDeviceTypeName Confirms that the supplied device type string name is valid
Public Extension MethodToDeviceString Extension method that converts a DeviceType enum value to a string
Public Extension MethodToDeviceType Extension method that converts a string device name to a DeviceType enum value.
Top
See Also