Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

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.