Click or drag to resize

AscomDriverInterfaceVersion Property

The interface version number that this device supports.

Namespace:  ASCOM.DriverAccess
Assembly:  ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntax
public short InterfaceVersion { get; }

Property Value

Type: Int16
Exceptions
ExceptionCondition
DriverExceptionAn error occurred that is not described by one of the more specific ASCOM exceptions. The device did not successfully complete the request.
Remarks

Must 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