Fnd_RegG
3 shared methods.
Fnd_RegG_Format
Fnd_RegG_Format (MD5; format) --> Text
Returns an unlock code by formatting the MD5 value using the specified format.
The # characters in the format string are replaced by characters from the MD5.
This method is identical to Fnd_Reg_Format.
Example: Input: ("35bf6fd6b73c1e29ac15a50316c4cc6c";"Test ###-##/###*") Output: "Test 35b-f6/fd6*"
| Parameter | Type | Direction | Description |
|---|---|---|---|
md5 | Text | in | An MD5 value |
inFormat | Text | in | A format description |
Result | Text | out | The formatted value |
Fnd_RegG_GenerateUnlockCode
Fnd_RegG_GenerateUnlockCode (secret key; feature code; user name; {license info{; format}}) --> Text
Returns a registration/unlock code based on the product number and user name.
Fnd_Reg licenses the host developer's application, not Foundation: it shows the host's demo and registration dialogs and checks the unlock codes the host issues.
Security: Fnd_RegG_GenerateUnlockCode ships in Foundation's source, so a host must set its own key with Fnd_Reg_SetSecretKey at startup. The MD5-based codes deter casual copying only; they are not copy protection.
| Parameter | Type | Direction | Description |
|---|---|---|---|
secretKey | Text | in | The unique product secret key |
inFeatureCode | Text | in | The feature code |
personalization | Text | in | The user name |
inLicenseInfo | Text | in | The license information (optional) |
inFormat | Text | in | The unlock code format (optional) |
Result | Text | out | The unlock code |
Fnd_RegG_Info
Fnd_RegG_Info (label) --> Text
Returns requested information. See the Fnd_Gen_ComponentInfo method for more information.
Fnd_Reg licenses the host developer's application, not Foundation: it shows the host's demo and registration dialogs and checks the unlock codes the host issues.
| Parameter | Type | Direction | Description |
|---|---|---|---|
request | Text | in | Info desired ("version" or "name") |
Result | Text | out | Response |