Creates a form for the user to enter his contact information and the activation key. When submitted, the user is added to the database and his license is activated.
C#: public bool ActivateLicenseDialog(string webServiceUrl, string computerID, string userData1, Control parentWindow, out string response)
Parameters
webServiceUrl - URL to the QLM License Server.
computerID - Unique identifier for the computer
userData1 - user data to associate to this license
parentWindow - parent of the activation form window
response - XML fragment containing the result of the call. The Xml fragment schema is as follows:
<?xml version='1.0' encoding='UTF-8'?>
<QuickLicenseManager>
<pckey>C06C4C90A497F091C2F080501000C076A0578E</pckey>
<userCompany>My Company</userCompany>
<userFullName>John Smith</userFullName>
<userEmail>john@smith.com</userEmail>
</QuickLicenseManager>
In the event of an error, the XML fragments returns:
<?xml version='1.0' encoding='UTF-8'?>
<QuickLicenseManager>
<error>Details about the error</error>
</QuickLicenseManager>
Comments
0 comments
Article is closed for comments.