Documentation
Table of Contents

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

State LicenseState

What the configured key means for this build today.

Payload LicensePayload

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.

Message string

The notice text that is logged for this state.

DaysRemaining int?

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.