Commands: How to get server build number?

To check with what version of server commands you are working use GetBuildNumber command from GlobalAdmin.


BuildNumber GetBuildNumber();

public class BuildNumber
	public string ProductVersion { get; set; }

	public string BuildVersion { get; set; }
Return Value BuildNumber Information about current product (server) version and build number.
ProductVersion string String representing current product version e.g. "ceacabf"
BuildVersion string String indicating current build version e.g. "35123"


BuildNumber buildNumber = store


BuildVersion for custom builds is "13"