Class VersionUtilities
Common functions working with versions
Namespace: i5.Toolkit.Core.VersionTool
Assembly: cs.temp.dll.dll
Syntax
public static class VersionUtilities
Methods
StringToVersion(String)
Converts a version string of the form 1.2.3 to a version object of the form 1.2.3.0 If the version string is shorter, unset version numbers are set to 0
Declaration
public static Version StringToVersion(string versionString)
Parameters
| Type | Name | Description |
|---|---|---|
| String | versionString | The version as a string |
Returns
| Type | Description |
|---|---|
| Version | Returns the parsed version or 0.0.1.0 if the string could not be parsed |