Note
If HasError is true, after expiration of either the license
or its evidence all license features become unavailable.
public interface ILicenseInfo
Public Interface ILicenseInfo
public interface class ILicenseInfo
type ILicenseInfo = interface end
DisplayName | Display name of the licensed user. |
EndDate | UTC date and time of the license expiration. This value is null for a lifetime license or if no suitable license is found. |
HasError | Determines whether an error has occured during retrieval of the license information. |
IsLifetime | Determines whether the license is a lifetime license. |
Login | Login of the licensed user. |
OrgId | ID of the organization for a commercial license or Empty for a personal license. |
PlanId | ID of the licensing plan or Basic if there is no suitable license. |
StartDate | UTC date and time of the license start. This value is null for old versions of SMath Licensing Server or if no suitable license is found. |
FormatEndDate | Formats the end date of the license. |
HasFeature | Returns true if the requested feature is present now and its options are equal to the specified value. |
TryGetFeature | Checks the current status and attempts to retrieve the options of the specified feature. |