Client.

CurrentVersion Property

Summary

Gets the version of the Mercurial client installed and in use, that was detected during startup of the Mercurial.Net library, or overriden through the use of SetClientPath(string).
Assembly
Mercurial.Net.dll
Namespace
Mercurial
Containing Type
Client

Syntax

public static Version CurrentVersion { get; }

Remarks

Note that this value is cached from startup/override time, and does not execute the executable when you read it. If you want a fresh, up-to-date value, use the GetVersion() method instead.

Value

Type Description
Version