AscomDriverInterfaceVersion Property |
The interface version number that this device supports.
Namespace: ASCOM.DriverAccessAssembly: ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 6.0.0.0 (6.6.9999.9999)
Syntaxpublic short InterfaceVersion { get; }Public ReadOnly Property InterfaceVersion As Short
Get
public:
virtual property short InterfaceVersion {
short get () sealed;
}Property Value
Int16
Exceptions| Exception | Condition |
|---|
| DriverException | An error occurred that is not described by one of the more specific ASCOM exceptions. The device did not successfully complete the request. |
RemarksMust be implemented
Clients can detect legacy V1 drivers by trying to read this property.
If the driver raises an error, it is a V1 driver. V1 did not specify this property. A driver may also return a value of 1.
In other words, a raised error or a return value of 1 indicates that the driver is a V1 driver.
See Also