ValidateLicenseHttp
Description
Validates a license key over HTTP. This API validates and activates a license.
The first time you call ValidateLicenseHttp, you provide the activation key (is_avkey) and the computer identifier (is_pcid). The server does the following:
Validates the license
Verifies if the license has not been previously activated
Activates the license
Returns the computer key and the set of features that are enabled.
On subsequent calls to ValidateLicenseHttp, in addition to the previous arguments, you should set the computer key argument using the value returned from the first call. In this instance, the server does the following:
Validates the license
Verifies if the license has not been revoked
Returns the status of the license and the set of features that are enabled.
To invoke this method via a URL, append this function's name to the URL of the QLM License Server and add the required arguments.
Arguments
is_activate
By default, ValidateLicenseHttp validates the license and activates it if needed. If you just want to validate the license and return information about the license, set the is_activate argument to false. If is_activate is not specified, the default value is true.
is_affiliateid
Affiliate to associate with the license key .This argument is optional and is set only if the license is activated when calling ValidateLicenseHttp.
is_alog_userdata1
For multiple activation licenses, user data to associate with the specific computer ID being activated (only available as of QLM 12.0.19144.1). This argument is optional and is set only if the license is activated when calling ValidateLicenseHttp.
is_avkey
The current activation key.
is_computer_name
This argument is not required. It is used to easily identify a computer, in case the computer ID is a serial number such as the hard disk serial number.
is_email
Email address of the customer associated with the license key. This argument is optional and is set only if the license is activated when calling ValidateLicenseHttp.
is_pcid
If the license has never been validated, you need to specify a computer identifier so that the returned computer key can be bound to this specific computer. A computer ID can be the name of the computer or any other unique identifier of your choice.
is_pckey
If the key has been previously activated, the ValidateLicense method returns a computer key. This computer key should then be used in subsequent calls to ValidateLicense in the is_pckey argument.
is_qlmversion
QLM engine version.
is_userdata1
User data to associate with the license key. This argument is optional and is set only if the license is activated when calling ValidateLicenseHttp.
is_writebom
Determines whether the byte-order-mark (BOM) is written in the returned xml fragment. The possible values are: true|false. If no argument is specified, the default value is taken from the License Server's web.config file "writeBOM" setting. The default value is false.
Optional Arguments
These arguments are optional but recommended.
is_productid
ID of the product
is_majorversion
major version of the product
is_minorversion
minor version of the product
Example Output
Last updated