Class LicenseStatus
This field is obtained when you either call Activate(string, ActivateModel) or GetKey(string, KeyInfoModel) with the Metadata parameter set to true.
Inherited Members
Namespace: SKMV3
Assembly: Cryptolens.Licensing.CrossPlatform.dll
Syntax
public class LicenseStatus
Properties
| Improve this Doc View SourceIsValid
Using 'feature definitions on the product page', this will be true if all conditions were satisfied.
Declaration
public bool IsValid { get; set; }
Property Value
Type | Description |
---|---|
bool |
ReasonForInvalidity
If IsValid is false, this field will contain the reason.
Declaration
public InvalidityReason ReasonForInvalidity { get; set; }
Property Value
Type | Description |
---|---|
InvalidityReason |
TimeLeft
The number of days left of a license key, if it's time-limited.
Declaration
public int TimeLeft { get; set; }
Property Value
Type | Description |
---|---|
int |
TimeLimited
Using 'feature definitions', this will be true if this license key is time limited.
Declaration
public bool TimeLimited { get; set; }
Property Value
Type | Description |
---|---|
bool |
Trial
Using 'feature definitions', this will be true if this license key is a trial license.
Declaration
public bool Trial { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
| Improve this Doc View SourceEquals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool | true if the specified object is equal to the current object; otherwise, false. |