Constructor LicenseStatus
- Namespace
- IntentSharp.Licensing
- Assembly
- IntentSharp.dll
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.
public LicenseStatus(LicenseState State, LicensePayload? Payload, string Message, int? DaysRemaining)
Parameters
StateLicenseStateWhat the configured key means for this build today.
PayloadLicensePayloadA 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.
MessagestringThe notice text that is logged for this state.
DaysRemainingint?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.