Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 861 Bytes

TPJOSInfo-IsWinNT.md

File metadata and controls

21 lines (12 loc) · 861 Bytes

IsWinNT class function

Project: System Information Unit.

Unit: PJSysInfo.

Class: TPJOSInfo

Applies to: ~>5.0

class function IsWinNT: Boolean;

Description

Returns True if an NT operating system is installed (including Windows 2000, Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 2003 Server, Windows 2008 Server, Windows 2008 Server R 2, Windows 2012 Server and Windows 2012 Server R 2), or False otherwise.

When the program is run in compatibility mode, this method will report whether the "emulated" operating system is a Windows NT operating system.

On operating systems where CanSpoof returns False this method will always return True, because CanSpoof only ever returns False on NT systems.