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.

TPJOSInfo

Project: System Information Unit.

Unit: PJSysInfo.

Applies to: ~>5.0

This is a static class that gives access to information about the operating system on which the program is running. All the class’ functionality is exposed through its static methods. Because it is static the class does not need to be instantiated before use.

Methods

Method Description
BuildNumber Gets the operating system build number.
CanSpoof Checks if the OS can be “spoofed” by specifying a compatibility mode for the program.
Description Gets a full information about of an operating system version.
Edition Gets the edition of an operating system product.
HasPenExtensions Checks for Windows Pen Extensions.
InstallationDate Gets the date that Windows was installed.
IsMediaCenter Checks for Windows Media Center.
IsReallyWindows2000OrGreater Checks whether the OS is Windows 2000 or greater. Ignores compatibility mode.
IsReallyWindows2000SP1OrGreater Checks whether the OS is Windows 2000 Service Pack 1 or greater. Ignores compatibility mode.
IsReallyWindows2000SP2OrGreater Checks whether the OS is Windows 2000 Service Pack 2 or greater. Ignores compatibility mode.
IsReallyWindows2000SP3OrGreater Checks whether the OS is Windows 2000 Service Pack 3 or greater. Ignores compatibility mode.
IsReallyWindows2000SP4OrGreater Checks whether the OS is Windows 2000 Service Pack 4 or greater. Ignores compatibility mode.
IsReallyWindows7OrGreater Checks whether the OS is Windows 7 or greater. Ignores compatibility mode.
IsReallyWindows7SP1OrGreater Checks whether the OS is Windows 7 Service Pack 1 or greater. Ignores compatibility mode.
IsReallyWindows8OrGreater Checks whether the OS is Windows 8 or greater. Ignores compatibility mode.
IsReallyWindows8Point1OrGreater Checks whether the OS is Windows 8.1 or greater. Ignores compatibility mode.
IsReallyWindows10OrGreater [~>5.1] Checks whether the OS is Windows 10 or greater. Ignores compatibility mode.
IsReallyWindowsVistaOrGreater Checks whether the OS is Windows Vista or greater. Ignores compatibility mode.
IsReallyWindowsVistaSP1OrGreater Checks whether the OS is Windows Vista Service Pack 1 or greater. Ignores compatibility mode.
IsReallyWindowsVistaSP2OrGreater Checks whether the OS is Windows Vista Service Pack 2 or greater. Ignores compatibility mode.
IsReallyWindowsXPOrGreater Checks whether the OS is Windows XP or greater. Ignores compatibility mode.
IsReallyWindowsXPSP1OrGreater Checks whether the OS is Windows XP Service Pack 1 or greater. Ignores compatibility mode.
IsReallyWindowsXPSP2OrGreater Checks whether the OS is Windows XP Service Pack 2 or greater. Ignores compatibility mode.
IsReallyWindowsXPSP3OrGreater Checks whether the OS is Windows XP Service Pack 3 or greater. Ignores compatibility mode.
IsRemoteSession Checks for a Windows Terminal Server remote session.
IsServer Checks for a server operating system.
IsTabletPC Checks for Windows Tablet PC.
IsWin32s Checks for the Windows 32s system.
IsWin9x Checks for the Windows 95 platform.
IsWindowsServer Checks if the OS is a server version. (When run in compatibility mode on Windows 2000 and later this method returns the true OS, unlike IsServer).
IsWinNT Checks for the Windows NT platform.
IsWow64 Checks if the program is running on WOW64.
MajorVersion Gets the operating system major version.
MinorVersion Gets the operating system minor version.
Platform Gets the operating system platform.
Product Gets a code representing the operating system product.
ProductID Gets the Windows product ID.
ProductName Gets the name of the operating system product.
RegisteredOrganisation Gets the name of the organisation to which Windows is registered.
RegisteredOwner Gets the name of the person owning this copy of Windows.
RevisionNumber [~>5.6] Gets the operating system’s revision number, if any.
ServicePack Gets details of the operating system’s service pack.
ServicePackEx [~>5.2] Gets details of the operating system’s service pack or any other significant update.
ServicePackMajor Gets the operating system’s major service pack version number.
ServicePackMinor Gets the operating system’s minor service pack version number.

Properties

TPJOSInfo defines no properties.

Events

TPJOSInfo defines no events.