Interface ILicenser
Namespace: LemonEdge.API.Client.CommonUI
Assembly: LemonEdge.API.dll
Syntax
public interface ILicenser
Methods
IsLicensed()
Returns if the current logged in user has a valid license associated with this account
Declaration
Task<LicenseResult> IsLicensed()
Returns
Type | Description |
---|---|
Task<LicenseResult> |
ResetLicense()
Resets the cached flag indicating if this license is valid, forcing a new check next time IsLicensed() is called
Declaration
void ResetLicense()
VerifyLicense(ILicense, string)
Returns true if the current license for this account is valid
Declaration
Task<LicenseResult> VerifyLicense(ILicense licenseInfo, string license)
Parameters
Type | Name | Description |
---|---|---|
ILicense | licenseInfo | The current license information |
string | license | The current license against the account to use |
Returns
Type | Description |
---|---|
Task<LicenseResult> | True if the current license for this account is valid |