Client.

GetVersion() Method

Summary

Gets the version of the Mercurial client installed and in use. Note that System.Version.Revision and System.Version.Build can be 0 for major and minor versions of Mercurial.
Assembly
Mercurial.Net.dll
Namespace
Mercurial
Containing Type
Client

Syntax

public static Version GetVersion()

Return Value

Type Description
Version The System.Version of the Mercurial client installed and in use.