Project: System Information Unit.
Unit: PJSysInfo.
Class: TPJOSInfo
Applies to: ~>5.0
class function IsServer: Boolean;
Returns true if the operating system is a server system or False if not.
When the program is run in compatibility mode, this method may test whether the "emulated" operating system is a server. However, this is not a reliable test. For example when emulating a server operating system on a desktop system IsServer continues to report False
!.
On operating systems where CanSpoof returns False
this method will always check whether the installed operating system is a server, regardless of any compatibility mode.
When running on Windows 2000 and later you can use IsWindowsServer to ensure that compatibility mode has no effect on the returned value.