The interface version number that this device supports.

Namespace: ASCOM.DriverAccess
Assembly: ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public short InterfaceVersion { get; }
Visual Basic
Public ReadOnly Property InterfaceVersion As Short
	Get
Visual C++
public:
virtual property short InterfaceVersion {
	short get () sealed;
}

Remarks

Must be implemented

Clients can detect legacy V1 drivers by trying to read ths 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.

Exceptions

ExceptionCondition
ASCOM..::..DriverExceptionMust throw an exception if the call was not successful

See Also