Class LicenseStatus
- Namespace
- IntentSharp.Licensing
- Assembly
- IntentSharp.dll
The evaluated license of a client: its state, the verified key content, the notice text and the days left in the state.
public sealed record LicenseStatus : IEquatable<LicenseStatus>
- Inheritance
-
objectLicenseStatus
- Implements
-
IEquatable<LicenseStatus>
- Inherited Members
-
object.Equals(object)object.Equals(object, object)object.GetHashCode()object.GetType()object.ReferenceEquals(object, object)object.ToString()
- Extension Methods
Constructors
- LicenseStatus(LicenseState, LicensePayload?, string, int?)
The evaluated license of a client: its state, the verified key content, the notice text and the days left in the state.
Properties
- DaysRemaining
Days until the state ends, counted from today (0 on the last day): to the expiry date for Evaluation and Licensed, to the end of the renewal window for RenewalDue. Null for every other state.
- Message
The notice text that is logged for this state.
- Payload
A copy of the key's content when the key is valid; null for None and Invalid. Enforcement keeps its own copy, so changing this object changes nothing.
- State
What the configured key means for this build today.