ICameraV2InterfaceVersion Property
The interface version number that this device supports. Should return 2 for this interface version.

Namespace: ASCOM.DeviceInterface
Assembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 6.0.0.0 (6.2.0.2774)
Syntax
short InterfaceVersion { get; }

Property Value

Type: Int16
Exceptions
ExceptionCondition
DriverExceptionMust throw an exception if the call was not successful
Remarks

Must be implemented, must not throw a PropertyNotImplementedException.

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.
See Also