LicenseClient lifecycle
Validation, caching, auto-validation, and error surfaces.
LicenseClient is the primary API: paths to license.bin, public key material, license key, optional expected license type, product id for update checks, and tuning for expiry warnings.
After a successful online validation, call TryAutoValidateAsync (or the documented equivalent for your version) so the encrypted offline cache stays warm for air-gapped scenarios.
Online validation hits POST /api/Licenses/validate with the product X-API-KEY — see Licenses REST and full .NET article.
