Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 862 Bytes

TPJOSInfo-CanSpoof.md

File metadata and controls

23 lines (13 loc) · 862 Bytes

CanSpoof class function

Project: System Information Unit.

Unit: PJSysInfo.

Class: TPJOSInfo

Applies to: ~>5.0

class function CanSpoof: Boolean;

Description

Checks if the reported operating can be "spoofed" when the program is running in compatibility mode.

When this method returns True it indicates that some methods of TPJOSInfo and some global variables will return the details of the compatibility mode OS instead of the actual one.

When CanSpoof returns False returned OS information will be the installed operating system and the operating system compatibility mode is ignored.

See the documentation of the relevant methods and global variables for details of which of them are affected by spoofing.