<PackageReference Include="Relativity.Server.Utility.SDK" Version="5000.0.0" />

VersionHelper

public class VersionHelper
The VersionHelper class contains methods for working with version numbers as string.
public VersionHelper()

public static bool Greater(string version1, string version2, bool fallbackValue)

Returns true if the first argument contains a version number greater than the second argument and false if it is less than or equal. If either argument is not a valid version number, then the fallbackValue is returned.

public static bool Greater(string version1, string version2)

Returns true if the first argument contains a version number greater than the second argument and false if it is less than or equal. If either argument is not a valid version number, then true is returned.