Class VersionExtensions
System.Object
  Westwind.Utilities.VersionExtensions
public static class VersionExtensions : object

Class Members

MemberDescription

CompareVersions

Compare two version strings.

public static int CompareVersions(string versionToCompare,     string versionToCompareAgainst)

FormatVersion

Formats a version by stripping all zero values up to the trimTokens count provided. By default displays Major.Minor and then displays any Build and/or revision if non-zero

public static string FormatVersion(Version version,     int minTokens,     int maxTokens)

public static string FormatVersion(string version,     int minTokens,     int maxTokens)

Requirements

Namespace: Westwind.Utilities
Assembly: westwind.utilities.dll

© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic