YamlLicenseSection

Models & Types · AiDotNet.Configuration

YAML configuration section for license key settings.

For Beginners

Add a license section to your YAML config file to set up your license key and server URL. You can still override these from code.

How It Works

Example YAML:

Constructors

Constructor Summary
YamlLicenseSection()

Properties

Property Summary
bool EnableTelemetry { get; set; } Whether to send advisory machine-ID telemetry during validation.
int OfflineGracePeriodDays { get; set; } Number of days the cached validation result remains trusted when the server is unreachable.
string Environment { get; set; } The environment label (e.g., “production”, “staging”, “development”).
string Key { get; set; } The license key string (e.g., “aidn.{id}.{secret}”).
string ServerUrl { get; set; } The license validation server URL.