ReleaseLicense
Description
Deactivates a license key on the License Server.
Parameters
webServiceUrl
string
URL to the QLM License Server
activationKey
string
the license key to deactivate
computerID
string
the unique computer identifier
computerKey
string
the computer key being released
logRelease
bool
flag that determines whether the release will be logged in the history table. If you are using cloud based floating licenses, you should set this argument to false to prevent bloating of the history table.
useActivationCount
bool
flag that determines whether the deactivation of the license decrements the activation count. This is typically needed for cloud floating licenses.
adminMode
bool
when true, instructs the API to use the AdminEncryptionKey rather than the CommunicationEncryption key to encrypt data over the wire. If you are calling ReleaseLicense from your application, this should be set to false.
response
out string
XML fragment containing the result of the call.
Response XML format
Example error response
Remarks
You can control how many times a user can release a license with the following Server Properties:
maxReleaseCount: The maximum number of times an end-user can release a license.
maxReleasePeriodInDays: When counting the number of released licenses, only count the ones that have been released in the past "maxReleasePeriodInDays" days. For example, if you want to allow a user to release a license twice per month, set maxReleasePeriodInDays to 30 and maxReleaseCount to 2.
maxReleasePerClient: When counting the number of released licenses for a given activation key, count only the ones associated with a specific client. By default, QLM counts all the released licenses for a given activation regardless of the client system.
By default, you must set the CommunicationEncryptionKey before calling ReleaseLicense. The server property releaseLicenseUseAdminEncryptionKey can be used to configure the server to require the AdminEncryption to be set in order to call ReleaseLicense.
Use ParseResults to interpret the results of the call and load the returned data into an ILicenseInfo object.
Last updated