Creates an activation key on the License Server.

Note that to call this function, you must:

  • Enable the Server Property enableCreateActivationKey
  • Set the AdminEncryptionKey
  • Call DefineProduct
void CreateActivationKeyEx(string webServiceUrl, string email, 
                           int [] features, int quantity, 
                           bool useMultipleActivationsKey, 
                           string qlmVersion, string vendor, 
                           string userData1, string affiliateID, 
                           out string response)


webServiceUrlstringURL to the QLM License Server.
emailstringemail address to associate with to the license key - can be empty
featuresint[]array of feature sets. each feature set is an or'ed value of the features to enable in the feature set
quantityintthe number of licenses to embed in the key
useMultipleActivationsKeyboolif set to true and quantity > 1, one license key will be generated for all required licenses. The number of licenses will be embedded in the license key
qlmVersionstringversion of the QLM Engine
vendorstringeCommerce vendor to use when generating the key
userData1stringuser data to associate with the license key
affiliateIDstringID of affiliate
responsestringXML fragment containing the result of the call.

Response XML format

<?xml version='1.0' encoding='UTF-8'?>

Example error response

<?xml version='1.0' encoding='UTF-8'?>
<error>Details about the error</error>


Use ParseResults to interpret the results of the call and load the returned data into an ILicenseInfo object.

ILicenseInfo li = new LicenseInfo();
string message = string.Empty;
if (lv.QlmLicenseObject.ParseResults(response, ref li, ref message))
  // The operation  was successful	
  // The operation failed