Documentation
Table of Contents

Property LicenseKey

Namespace
IntentSharp
Assembly
IntentSharp.dll

LicenseKey

Commercial or evaluation license key. When it is null or blank, building the client reads the key from the INTENTSHARP_LICENSE_KEY environment variable instead; a key set here, in code or in configuration, wins. Each client checks its key offline, once, when it is built; there is no process-wide state. A current paid or evaluation key logs one information line at build. No key, an invalid key, an ended evaluation and an ended paid term all leave the client working: the client logs a warning or an error at build and repeats it at most once per LicenseReminderInterval while the client is used, moving a long-running client from licensed to renewal-due to lapsed as the dates pass. The only key that stops the client is a paid key whose maintenance period ended before this build was released: building throws LicenseException. An evaluation key never stops the client this way. Set FailWhenUnlicensed to also stop on a missing or invalid key or an ended evaluation. Leave the key empty only for the free use the license allows, summarized in FreeUseSummary.

public string? LicenseKey { get; set; }

Property Value

string