BuildNumber class function

Project: System Information Unit.

Unit: PJSysInfo.

Class: TPJOSInfo

Applies to: ~>5.0

class function BuildNumber: Integer;

Description

Returns the build number of the operating system.

When the program is run in compatibility mode, this method will return the build number of the “emulated” operating system.

On operating systems where CanSpoof returns False this method will return the build number of the installed operating system, regardless of any compatibility mode.

Notes

The method used to calculate the build number varies according to the version of the unit. This can result in slightly different results in cases where the build number can’t be found.

See Also