Activates a floating license. This will consume one license if available. You should call this function when your application is launched. If the function returns QlmActivationStatus.Activated or QlmActivationStatus.AlreadyActivated, you can proceed with the launch of your application. Any other value would indicate an issue and you should abort the launch of your application.
C#: QlmActivationStatus ActivateFloatingLicense(string computerID, string computerName, out string message)
computerID - The ID of the computer on which the license should be activated.
computerName - The name of the computer on which the license should be activated.
message - A returned message with details about the operation.
QlmActivationStatus can have one of the following values:
Activated - The license was activated successfully.
AlreadyActivated - The license was already activated for this computer.
FailedToFindDb - The QLM Floating database was not found.
FailedToActivate - The activation failed.
InvalidLicense - The license key registered in the database is not valid.
NoMoreLicenses - There are no more licenses available.
NotActivated - The license was not activated.
Undefined - Initial value of this enum.
Comments
0 comments
Article is closed for comments.