Click or drag to resize

OperatingSystemInfo Methods

The OperatingSystemInfo type exposes the following members.

Methods
  NameDescription
Public methodStatic memberIsAtLeast(OSVersionName)
Determines whether the operating system is of the specified version or later.
Public methodStatic memberIsAtLeast(OSVersionName, Int32)
Determines whether operating system is of the specified version or later, allowing specification of a minimum service pack that must be installed on the lowest version.
Public methodStatic memberIsWow64Process
Determines whether the current process is running under WOW64.
Public methodStatic memberRequireAtLeast(OSVersionName)
Determines whether the assembly is executing on the specified operating system version or later. If not, an exception is thrown.
Public methodStatic memberRequireAtLeast(OSVersionName, Int32)
Determines whether the assembly is executing on the specified operating system version with the specified service pack installed or any later version of windows. If not, an exception is thrown.
Public methodStatic memberRequireServer
Determines whether the operating system is a server operating system of atleast the specified serverVersion and serverServicePackVersion and throws an UnsupportedOperatingSystemException otherwise.
Public methodStatic memberRequireServerOrClientAtLeast
Determines whether operating system is of the specified server version or later or if it is of the specified client version or later and throws UnsupportedOperatingSystemException otherwise.
Top
See Also