C# Класс FirstFloor.ModernUI.Win32.WindowsVersionHelper

Показать файл Открыть проект

Открытые методы

Метод Описание
GetVersion ( ) : string
IsWindowsVersionOrGreater ( KnownWindows windows ) : bool

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

Приватные методы

Метод Описание
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.

Описание методов

GetVersion() публичный статический Метод

public static GetVersion ( ) : string
Результат string

IsWindowsVersionOrGreater() публичный статический Метод

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.
Результат bool