C# Class FirstFloor.ModernUI.Win32.WindowsVersionHelper

Mostra file Open project: gro-ove/actools

Public Methods

Method Description
GetVersion ( ) : string
IsWindowsVersionOrGreater ( KnownWindows windows ) : bool

Indicates if the running OS version matches, or is greater than, the provided OS.

Private Methods

Method Description
IsWindowsVersionOrGreater ( uint majorVersion, uint minorVersion, ushort servicePackMajor ) : bool

Indicates if the current OS version matches, or is greater than, the provided version information. This method is useful in confirming a version of Windows Server that doesn’t share a version number with a client release.

VerSetConditionMask ( ulong dwlConditionMask, uint dwTypeBitMask, byte dwConditionMask ) : ulong
VerifyVersionInfo ( [ lpVersionInfo, uint dwTypeMask, ulong dwlConditionMask ) : bool
WindowsVersionHelper ( ) : System

Initializes dictionary of operating systems.

Method Details

GetVersion() public static method

public static GetVersion ( ) : string
return string

IsWindowsVersionOrGreater() public static method

Indicates if the running OS version matches, or is greater than, the provided OS.
public static IsWindowsVersionOrGreater ( KnownWindows windows ) : bool
windows KnownWindows OS to compare running OS to.
return bool