LicenseManager
Executes the required processes related to Licensing.
Responsibilities
Download Licenses
Activate Licenses
Deserialize License Data
Validate License before executing (see also CodeDescriptor)
Subtract consumed workloads to active license
Online Features
Perform online validations
Update remote license database subtracting the consumed workloads.
See also Licensing Infrastructure
ILicenseManager
That component is used by the controller and allows installation and validation of licenses, working like communication point between the Licensing API and other interfaces implemented in the Product License repository.
/
public interface ILicenseManager
{
ILicenseModel ActiveLicenseModel { get; }
bool TryCreateFreeProductLicense(string email, out IError error);
bool TryInstallAndActivateFreeLicenseByProperty(string propertyName, string propertyValue, out IError error);
bool TryLoadActiveLicense(out ILicenseModel licenseModel, out IError error);
bool TryValidateActiveLicense(CodeDescriptor inputCodeDescriptor, ExecutionMode requestedExecutionMode, IFingerprint fingerprint, out IError error);
bool TryValidateOnlineLicenseForExecution(string licenseKey, CodeDescriptor inputCodeDescriptor, ExecutionMode requestedExecutionMode, IFingerprint fingerprint, out IError error);
}
IInternetConnection
This component provide tools for check the internet connection of the computer and is used by the LicenseManager before the try the validate the license.
public interface IInternetConnection
{
bool CheckForInternetConnection();
}
Last updated