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.
Project: System Information Unit.
Unit: PJSysInfo.
Class: TPJOSInfo
Applies to: ~>5.0
class function ProductName: string;
Returns the name of the operating system product. The product can be thought of as the marketing name for the operating system. If the product can’t be determined then the empty string is returned.
The product name for both Windows NT 3.51 and Windows NT 4 is “Windows NT”. Use the MajorVersion and MinorVersion methods to distinguish between them.
A unique code representing the OS product can be found by using the Product method.
When the program is run in compatibility mode, this method will return the product name of the “emulated” operating system.
On operating systems where CanSpoof returns False
this method will return the product name of the installed operating system, regardless of any compatibility mode.