- Features associated to a license
- Expiry date of the license
- Duration of the license
- Major and Minor version of the product
- The version of the QLM Engine used to generate the license key
When a license is upgraded, a new license key is generated and replaces the existing one. The old license is copied to the released licenses table.
To use a proxy server, you must set the UseProxyServer, ProxyUser, ProxyDomain and ProxyPassword properties prior to calling this function.
C#: bool UpgradeLicense (string webServiceUrl, string activationKey, int productID, int majorVersion, int minorVersion, string qlmVersion, string features, DateTime dtExpiry, int expiryDuration, string comment, out string newActivationKey, out string response)
Http: hhttp://server/qlm/qlmservice.asmx/UpgradeLicense?is_avkey=<activationKey>&is_productid=<pid>&is_majorversion=<majorVersion>&is_minorversion=<minorVersion>&is_expdate=<yyyy-mm-dd>&is_expdate>&is_expduration=<expiry duration>
Example: http://server/qlm/qlmservice.asmxUpgradeLicense?is_avkey=B0739A30F960FAA0FA3045D0560000000&is_productid=1&is_majorversion=1&is_minorversion=0&is_expdate=2008-06-01
Parameters
webServiceUrl - URL to the QLM License Server.
activationKey- activation key to update
productID - ID of the product
majorVersion - New major version of the product
minorVersion - New minor version of the product
qlmVersion - Version of the QLM Engine to use.
features - A semi comma separated list of enabled feature sets. For example, to enable features 001 and 002 in feature set 0 and features 004 and 008 in feature set 2, you use: "0:3;2:12"
dtExpiry - Expiry date of the license key
expiryDuration - Expiry duration of the license key
comment - Update the comment associated to this license.
newActivationKey - the newly upgraded activation key
response - XML fragment containing the result of the call. The Xml fragment schema is as follows:
<?xml version='1.0' encoding='UTF-8'?>
<QuickLicenseManager>
<result>The license was upgraded...</result>
In the event of an error, the XML fragments returns:
</QuickLicenseManager>
<?xml version='1.0' encoding='UTF-8'?>
<QuickLicenseManager>
<error>The activation key is not valid</error>
</QuickLicenseManager>
Return
True if the upgrade was successful.
Comments
0 comments
Article is closed for comments.