mmApp.CompareVersions

Compare two version strings.

public static int CompareVersions(string versionToCompare,
	string versionToCompareAgainst)

Return Value

0 - equal, 1 - greater than compareAgainst, -1 - smaller than, -2 - Version Format error

Parameters

versionToCompare
Semantic Version string

versionToCompareAgainst
Semantic Version string


See also:

Class mmApp

© West Wind Technologies, 2016-2023 • Updated: 11/23/21
Comment or report problem with topic