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.

DigitalProductID class function

Project: System Information Unit.

Unit: PJSysInfo

Class: TPJOSInfo

Applies to: ~>5.30

class function DigitalProductID: TBytes;

Description

Returns a byte array containing the bytes of the digital product ID of the host OS, if a digital license is held for it.

If no digital product ID is found then an empty byte array is returned.

This ID is different, but similar, to the product ID string returned by the ProductID method.