Windows class abstract interface

Windows.

Implemented types

Properties

hashCode int
The hash code for this object.
no setterinherited
isWindows7OrGreater bool
Indicates if the current OS version matches, or is greater than, the Windows 7 version.
no setter
isWindows7SP1OrGreater bool
Indicates if the current OS version matches, or is greater than, the Windows 7 with Service Pack 1 (SP1) version.
no setter
isWindows8OrGreater bool
Indicates if the current OS version matches, or is greater than, the Windows 8 version.
no setter
isWindows8Point1OrGreater bool
Indicates if the current OS version matches, or is greater than, the Windows 8.1 version.
no setter
isWindows10OrGreater bool
Indicates if the current OS version matches, or is greater than, the Windows 10 version.
no setter
isWindowsServer bool
Indicates 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.
no setter
isWindowsVistaOrGreater bool
Indicates if the current OS version matches, or is greater than, the Windows Vista version.
no setter
isWindowsVistaSP1OrGreater bool
Indicates if the current OS version matches, or is greater than, the Windows Vista with Service Pack 1 (SP1) version.
no setter
isWindowsVistaSP2OrGreater bool
Indicates if the current OS version matches, or is greater than, the Windows Vista with Service Pack 2 (SP2) version.
no setter
isWindowsXPOrGreater bool
Indicates if the current OS version matches, or is greater than, the Windows XP version.
no setter
isWindowsXPSP1OrGreater bool
Indicates if the current OS version matches, or is greater than, the Windows XP with Service Pack 1 (SP1) version.
no setter
isWindowsXPSP2OrGreater bool
Indicates if the current OS version matches, or is greater than, the Windows XP with Service Pack 2 (SP2) version.
no setter
isWindowsXPSP3OrGreater bool
Indicates if the current OS version matches, or is greater than, the Windows XP with Service Pack 3 (SP3) version.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version WindowsVersion
[GetVersionEx may be altered or unavailable for releases after Windows 8.1. Instead, use the Version Helper functions]
no setter

Methods

isWindowsVersionOrGreater({int majorVersion = 0, int minorVersion = 0, int servicePackMajor = 0}) bool
Indicates if the current OS version matches, or is greater than, the provided version information. This function is useful in confirming a version of Windows Server that doesn't share a version number with a client release.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited