| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | Returns: true if the current OS version matches, or is greater than, the Windows 10 version. For Windows 10,IsWindows8Point1OrGreater returns false unless the
application contains a manifest that includes a compatibility
section that contains the GUID that designates Windows 10.
|
| public static boolean | Returns: true if the current OS version matches, or is greater than, the Windows 7 version.
|
| public static boolean | Returns: true if the current OS version matches, or is greater than, the Windows 7 with Service Pack 1 (SP1) version.
|
| public static boolean | Returns: true if the current OS version matches, or is greater than, the Windows 8 version.
|
| public static boolean | Returns: true if the current OS version matches, or is greater than, the Windows 8.1 version. For Windows 8.1 and/or Windows 10,IsWindows8Point1OrGreater returns false unless the
application contains a manifest that includes a compatibility
section that contains the GUIDs that designate Windows 8.1 and/or
Windows 10.
|
| public static boolean | Returns: true if the current OS is a Windows Server release.Applications that need to distinguish between server and client versions of Windows should call this function. |
| public static boolean | Returns: True if the current OS version matches, or is greater than, the provided version information.The major version to test wMajorVersion, int The minor version to test wMinorVersion, int The service pack to test wServicePackMajor)This function is useful in confirming a version of Windows Server that doesn't share a version number with a client release. |
| public static boolean | Returns: true if the current OS version matches, or is greater than, the Windows Vista version.
|
| public static boolean | Returns: true if the current OS version matches, or is greater than, the Windows Vista with Service Pack 1 (SP1) version.
|
| public static boolean | Returns: true if the current OS version matches, or is greater than, the Windows Vista with Service Pack 2 (SP2) version.
|
| public static boolean | Returns: true if the current OS version matches, or is greater than, the Windows XP version.
|
| public static boolean | Returns: true if the current OS version matches, or is greater than, the Windows XP with Service Pack 1 (SP1) version.
|
| public static boolean | Returns: true if the current OS version matches, or is greater than, the Windows XP with Service Pack 2 (SP2) version.
|
| public static boolean | Returns: true if the current OS version matches, or is greater than, the Windows XP with Service Pack 3 (SP3) version.
|
| VersionHelpers | back to summary |
|---|---|
| public VersionHelpers() | |
| IsWindows10OrGreater | back to summary |
|---|---|
public static boolean IsWindows10OrGreater()
| |
| IsWindows7OrGreater | back to summary |
|---|---|
public static boolean IsWindows7OrGreater()
| |
| IsWindows7SP1OrGreater | back to summary |
|---|---|
public static boolean IsWindows7SP1OrGreater()
| |
| IsWindows8OrGreater | back to summary |
|---|---|
public static boolean IsWindows8OrGreater()
| |
| IsWindows8Point1OrGreater | back to summary |
|---|---|
public static boolean IsWindows8Point1OrGreater()
| |
| IsWindowsServer | back to summary |
|---|---|
| public static boolean IsWindowsServer() Applications that need to distinguish between server and client versions of Windows should call this function.
| |
| IsWindowsVersionOrGreater | back to summary |
|---|---|
| public static boolean IsWindowsVersionOrGreater(int wMajorVersion, int wMinorVersion, int wServicePackMajor) This function is useful in confirming a version of Windows Server that doesn't share a version number with a client release. You should only use this function if the other provided version helper functions do not fit your scenario.
| |
| IsWindowsVistaOrGreater | back to summary |
|---|---|
public static boolean IsWindowsVistaOrGreater()
| |
| IsWindowsVistaSP1OrGreater | back to summary |
|---|---|
public static boolean IsWindowsVistaSP1OrGreater()
| |
| IsWindowsVistaSP2OrGreater | back to summary |
|---|---|
public static boolean IsWindowsVistaSP2OrGreater()
| |
| IsWindowsXPOrGreater | back to summary |
|---|---|
public static boolean IsWindowsXPOrGreater()
| |
| IsWindowsXPSP1OrGreater | back to summary |
|---|---|
public static boolean IsWindowsXPSP1OrGreater()
| |
| IsWindowsXPSP2OrGreater | back to summary |
|---|---|
public static boolean IsWindowsXPSP2OrGreater()
| |
| IsWindowsXPSP3OrGreater | back to summary |
|---|---|
public static boolean IsWindowsXPSP3OrGreater()
| |