Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 580 Bytes

File metadata and controls

19 lines (11 loc) · 580 Bytes

IsWindowsServer class function

Project: System Information Unit.

Unit: PJSysInfo.

Class: TPJOSInfo

Applies to: ~>5.0

class function IsWindowsServer: Boolean;

Description

Checks if the OS is a server version.

When running on Windows 2000 and later the result always relates to the actual OS, regardless of any compatibility mode in force. For versions prior to Windows 2000 this method will take note of compatibility modes and returns the same value as TPJOSInfo.IsServer.