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.

RevisionNumber class function

Project: System Information Unit.

Unit: PJSysInfo.

Class: TPJOSInfo

Applies to: ~>5.6

class function RevisionNumber: Integer;


Stores the operating system’s revision number.

If no revision number is found then 0 is returned.


The revision number is read from the registry.

Basic tests indicate that this value cannot be spoofed, but registry spoofing is known to vary between different OS versions, so this test result is not conclusive.

See Also