API Reference

ValidateLicense

Description

Validate the license stored in the floating license database (XML or DB) and extract the total number of floating seats and consumed seats. This function should be called after the floating license DB has been initialized and the license has been activated.

bool ValidateLicense(out bool reRegisterLicense, out bool reRegisterDb,
                     out QlmActivationStatus activationStatus, out string message)

Parameters

ParameterTypeDescription
reRegisterLicenseboolreturn flag indicating the license must be reactivated
reRegisterDbboolreturn flag indicating the floating license DB must be re-registered
activationStatusQlmActivationStatusreturn flag indicating the current activation status
messagestringerror message if there was an error during the operation

Return

TypeDescription
booltrue if the operation was successful; otherwise, false.