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: 3c9121baba46811fe6e53a58a05935662261416d
Syntax
string DriverVersion { get; }

Property Value

Type: String
Exceptions
ExceptionCondition
DriverExceptionMust throw an exception if the call was not successful.
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