Class LicenseStatus
This field is obtained when you either call Activate(String, ActivateModel) or GetKey(String, KeyInfoModel) with the Metadata parameter set to true.
Inheritance
System.Object
LicenseStatus
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: SKM.V3
Assembly: Cryptolens.Licensing.dll
Syntax
public class LicenseStatus
Properties
IsValid
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 |
---|---|
System.Boolean |
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 |
---|---|
System.Int32 |
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 |
---|---|
System.Boolean |
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 |
---|---|
System.Boolean |
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)