IAscom |
The IAscomDeviceV2 type exposes the following members.
Name | Description | |
---|---|---|
![]() | Connected |
Set True to enable the link. Set False to disable the link.
You can also read the property to check whether it is connected.
(Inherited from IAscomDevice) |
![]() | Connecting | Completion variable for asynchronous connect and disconnect operations |
![]() | Description |
Returns a description of the driver, such as manufacturer and model number.
(Inherited from IAscomDevice) |
![]() | DeviceState | Returns the device's operational state in a single call |
![]() | DriverInfo |
Descriptive and version information about this ASCOM driver.
(Inherited from IAscomDevice) |
![]() | DriverVersion |
A string in the form "n.n" containing only the major and minor version of the driver.
(Inherited from IAscomDevice) |
![]() | InterfaceVersion |
The interface version number that this device implements.
(Inherited from IAscomDevice) |
![]() | Name |
The short name of the driver, for display purposes
(Inherited from IAscomDevice) |
![]() | SupportedActions |
Returns the list of action names supported by this driver.
(Inherited from IAscomDevice) |
Name | Description | |
---|---|---|
![]() ![]() | Action |
Invokes the specified device-specific action.
(Inherited from IAscomDevice) |
![]() | CommandBlind |
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.
(Inherited from IAscomDevice) |
![]() | CommandBool |
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.
(Inherited from IAscomDevice) |
![]() | CommandString |
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.
(Inherited from IAscomDevice) |
![]() | Connect | Connect to device asynchronously |
![]() | Disconnect | Disconnect from device asynchronously |
![]() | Dispose |
This method is a "clean-up" method that is primarily of use to drivers that are written in languages such as C# and VB.NET where resource clean-up is initially managed by the language's
runtime garbage collection mechanic. Driver authors should take care to ensure that a client or runtime calling Dispose() does not adversely affect other connected clients.
Applications should not call this method.
(Inherited from IAscomDevice) |
Name | Description | |
---|---|---|
![]() | ConnectAsync |
Returns an awaitable, running, Task that connects to the device. (Polls IAscomDeviceV2.Connecting)
(Defined by ClientExtensions) |
![]() | DisconnectAsync |
Returns an awaitable, running, Task that disconnects from the device. (Polls IAscomDeviceV2.Connecting)
(Defined by ClientExtensions) |