API Reference

ValidateLicense

Description

Validates a license

 virtual bool ValidateLicense(string activationKey, string computerKey, 
                              ref string computerID, ELicenseBinding licenseBinding, 
                              ref bool needsActivation, ref string returnMsg)

Parameters

ParameterTypeDescription
activationKeystringthe activation key
computerKeystringthe computer bound key
computerIDstringthe unique computer identifier. The computerID is used when licenseBinding is set to UserDefined.
licenseBindingELicenseBindingthe license binding to use when validating the license
needsActivationboolreturned flag indicating whether the license needs to be activated
returnMsgstringmessage returned by the license validation operation

Return

TypeDescription
booltrue if the license is valid; false otherwise

Remarks

This function perform a local license validation without contacting the server.