CreateComputerBoundTrialKey
Description
Creates a trial activation key, then automatically activates it on the server side and returns the computer bound license key.
Parameters
webServiceUrl
string
URL to the QLM License Server
computerID
string
Unique identifier of the computer being activated.
computerName
string
Friendly name of the computer being activated.
string
email address to associate to the license key - may be empty
features
string
Semi comma separated list of feature sets and their corresponding values. Example: 0:1;1:2;2:3;3:6 - enables feature 1 in feature set 0, feature 2 in feature set 1, feature 1+2 (3) in feature set 4 and features 1+2+3 (6) in feature set 3.
affiliateID
string
ID of affiliate
userData1
string
user data to associate to this license
response
string
XML fragment containing the result of the call. The Xml fragment schema is as follows:
Response XML format
Return
string
the computer bound license key (ComputerKey)
Remarks
You must call DefineProduct before calling this function.
This function is useful if you want to create trial keys from within your application. The trial period is controlled by the **trialDuration **Server Property. Server Properties can be set from the Manage Keys / Sites / Server Properties page.
If you want to prevent calls to this function, set the **enableCreateComputerBoundTrial **Server Property to false. The Server Properties can be set from the Manage Keys / Sites / Server Properties page.
Example
Last updated