Namespace IntentSharp.Licensing
Classes
- LicenseException
Thrown by Build() when the license stops the client from being built: always for VersionGated (a paid key whose maintenance ended before this build was released), and for None, Invalid and EvaluationExpired only when FailWhenUnlicensed is set. With
AddIntentSharpit is thrown, unwrapped, when the host starts (or, without a host, when the client is first resolved). It is never thrown by a request on a client that was built.
- LicenseInfo
Where to buy a commercial license and what the free grant covers. IntentSharp does not phone home. Keys are checked offline when a client is built; the only hard failure is a paid key whose maintenance ended before this release, which stops the client from being built.
- LicensePayload
What a license key says: who it was issued to, its edition and its dates. Dates are calendar dates in UTC. Expires is the end of the paid term (or the evaluation); MaintenanceUntil is the last release a paid key covers: with a release whose ReleaseDate is later than this date, building a client with the key throws.
- LicenseStatus
The evaluated license of a client: its state, the verified key content, the notice text and the days left in the state.
- ReleaseInfo
Facts about this build that a license key is compared with. A paid key whose MaintenanceUntil is earlier than ReleaseDate does not cover this release: building a client with it throws.
Enums
- LicenseEdition
The commercial license editions, plus the free 30-day evaluation. Every edition except the evaluation is a paid key, and the library enforces all paid keys the same way. Team is no longer sold; existing Team licenses continue, and their keys keep working as before.
- LicenseState
What the configured key means for this build today.