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.
http://yourserver/yourvirtualdirectory/qlmservice.asmx/ValidateLicenseHttp?is_avkey=<activationKey> &is_pckey=<computer key> &is_pcid=<computer ID> &is_computer_name=<computer name> &is_qlmversion=<QLM Engine version> &is_email=<email of the customer associated to the key> &is_userdata1=<user data to associate to the key> &is_affiliateid=<affiliate to associate to the key>&is_activate=true|false
|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 to the license key .This argument is optional.|
|is_alog_userdata1||for multiple activation licenses, user data to associate to the specific computer ID being activated (only available as of QLM 12.0.19144.1)|
|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 to the license key. This argument is optional.|
|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 to the license key. This argument is optional.|
|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.|
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|