Click or drag to resize
AscomDriver Class
Base class for ASCOM driver access toolkit device classes. This class contains the methods common to all devices so that they can be maintained in just one place.
Inheritance Hierarchy
SystemObject
  ASCOM.DriverAccessAscomDriver
    More...

Namespace: ASCOM.DriverAccess
Assembly: ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 6.0.0.0 (6.2.0.2774)
Syntax
public class AscomDriver : IDisposable

The AscomDriver type exposes the following members.

Constructors
  NameDescription
Public methodAscomDriver
Initializes a new instance of the AscomDriver class
Public methodAscomDriver(String)
Creates a new instance of the AscomDriver class.
Top
Properties
  NameDescription
Public propertyConnected
Set True to connect to the device hardware. Set False to disconnect from the device hardware. You can also read the property to check whether it is connected. This reports the current hardware state.
Public propertyDescription
Returns a description of the device, such as manufacturer and modelnumber. Any ASCII characters may be used.
Public propertyDriverInfo
Descriptive and version information about this ASCOM driver.
Public propertyDriverVersion
A string containing only the major and minor version of the driver.
Public propertyInterfaceVersion
The interface version number that this device supports.
Public propertyName
The short name of the driver, for display purposes
Public propertySupportedActions
Returns the list of action names supported by this driver.
Top
Methods
  NameDescription
Public methodCode exampleAction
Invokes the specified device-specific action.
Public methodCommandBlind
Transmits an arbitrary string to the device and does not wait for a response. Optionally, protocol framing characters may be added to the string before transmission.
Public methodCommandBool
Transmits an arbitrary string to the device and waits for a boolean response. Optionally, protocol framing characters may be added to the string before transmission.
Public methodCommandString
Transmits an arbitrary string to the device and waits for a string response. Optionally, protocol framing characters may be added to the string before transmission.
Public methodDispose
Releases the unmanaged late bound COM object
Public methodSetupDialog
Launches a configuration dialog box for the driver. The call will not return until the user clicks OK or cancel manually.
Top
See Also
Inheritance Hierarchy