Click or drag to resize

IDomeV2DriverVersion Property

A string containing only the major and minor version of the driver.

Namespace: ASCOM.DeviceInterface
Assembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 6.0.0.0 (6.6.9999.9999)
Syntax
string DriverVersion { get; }

Property Value

String
Exceptions
ExceptionCondition
DriverExceptionAn error occurred that is not described by one of the more specific ASCOM exceptions. Include sufficient detail in the message text to enable the issue to be accurately diagnosed by someone other than yourself.
Remarks

Must be implemented.

This must be in the form "n.n". The major and minor versions are positive decimal integers and are separated by a period. Drivers should not format this as a real number with a decimal point. The driver version should not to be confused with the InterfaceVersion property, which is the version of this specification supported by the driver.

Note: client applications should NOT treat this as a real number with a decimal point, it is a string containing two integers with a separator character. Take care when parsing this string, as a culture-sensitive parser may be confused by the period; Specify InvariantCulture if necessary.

See Also