Click or drag to resize
OperatingSystemIsAtLeast Method (OperatingSystemEnumOsName, Int32)
Determines whether the operating system is of the specified version or later, allowing specification of a minimum service pack that must be installed on the lowest version.

Namespace: Alphaleonis.Win32
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
public static bool IsAtLeast(
	OperatingSystemEnumOsName version,
	int servicePackVersion


Type: Alphaleonis.Win32OperatingSystemEnumOsName
The minimum required version.
Type: SystemInt32
The major version of the service pack that must be installed on the minimum required version to return true. This can be 0 to indicate that no service pack is required.

Return Value

Type: Boolean
if the operating system matches the specified version with the specified service pack, or if the operating system is of a later version; otherwise, .
See Also