Initiates the process of activating a license by authorization code.

void RequestAuthorizationCodeForActivation(string webServiceUrl, 
                                           string email, 
                                           string mobile, 
                                           string computerID, 
                                           out string response)


webServiceUrlstringURL to the QLM License Server
emailstringEmail address of the user that owns the license
mobilestringMobile Phone Number of the user that owns the license
computerIDstringthe unique computer identifier
responseout stringXML fragment containing the result of the call.

Response XML format

<?xml version='1.0' encoding='UTF-8'?>
<result>result of theactivation</result>

Example error response

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


If the server identifies a license key that corresponds to the user, an Authorization Code is generated and emailed to the user. The client application must then call QlmLicense.ActivateLicenseByAuthorizationCode.

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