This function retrieves the PcID.
Parameters
Name | Explanation |
lpszPcID | The retrieved PcID (Maximum length is 64 digits) In C++Builder, Visual C++, and Delphi. this is a string terminating with Null. In Visual Basic, this is a string of specified size. |
lpPcIDLen | The number of digits in the retrieved PcID |
Return Value
Returns the True (nonzero) if successful, otherwise returns False (0).
Explanation
The PK3QueryPcID function retrieves the PcID that has been generated using the PK3SetProtect.exe.
The PK3QueryPcID function is disabled when the password has no expiration or if the PK3Initialize function has not been executed.
Example:
Run the Pr3SetProtect.exe. Under "PC Identifiers", select the checkbox "CPU, Motherboard Northbridge, VideoCard, and NetworkCard must all be different". Check the checkbox "Add Random Identifier to these PC identifiers". In this case the PcID will be in the following order: "CPU identifier" + "Motherboard Northbridge identifier" + "VideoCard identifier" + "NetworkCard MAC address" + "a Random Identifier"
For more information, please refer to PK3QueryCpuID, PK3QueryHostBridgeID, PK3QueryVideoID, and PK3QueryNicAdrID.