Skip to content

Licensing

A valid license key is required to use Tayra in all environments. Request a free trial key at tayra.dev or purchase a production license — see pricing for details.

Setting Your License Key

Set the LicenseKey property in TayraOptions:

csharp
services.AddTayra(opts =>
{
    opts.LicenseKey = Environment.GetEnvironmentVariable("TAYRA_LICENSE_KEY");
});

Without a valid license key, resolving ITayra from the DI container will throw a TayraLicenseException.

Environment Variables

Store your license key in an environment variable or secrets manager rather than hard-coding it. This prevents accidental exposure in source control.

Trial Licenses

Trial licenses are free, fully-functional signed keys with a time limit (typically 15 days). Request one at tayra.dev or by emailing hello@tayra.dev. Trial keys work identically to production keys — there are no artificial limitations, watermarks, or feature gates.

Production Licenses

Production licenses are perpetual — your version works forever, even after the maintenance period ends. The MaintenanceUntil date controls whether you receive software updates, not whether your application runs.

How Validation Works

Tayra uses ECDSA P-256 (also known as secp256r1 or prime256v1) for license key validation:

  • License keys are digitally signed with Radarleaf Technologies' private key.
  • The LicenseChecker service validates the signature using the embedded public key.
  • Validation is performed entirely offline -- no network calls, no phone-home, no telemetry.
  • The validation check runs once at startup, not on every encrypt/decrypt call.

Offline-Capable

Tayra never contacts any external server for license validation. Your application can run in air-gapped environments, private networks, or anywhere without internet access.

Editions

Tayra is available in two editions. Both editions fully support GDPR-compliant data protection — the Compliance edition adds reporting and tooling, not the protection itself.

EditionPackageWhat You Get
EssentialsTayra.CoreField-level encryption, crypto-shredding, key rotation, blind indexes, audit trail, all framework integrations, CLI tool — everything needed to protect personal data and comply with GDPR
ComplianceTayra.Core + Tayra.ComplianceEverything in Essentials, plus compliance reporting and tooling: PII data maps (Art. 30), data subject access exports (Art. 15/20), breach notification reports (Art. 33/34), and formatted HTML compliance reports

TIP

The Essentials edition already provides the technical foundation for GDPR compliance. The Compliance edition automates the reporting that GDPR requires — the kind of work that would otherwise take weeks of custom development.

The Compliance reporting features are distributed in a separate Tayra.Compliance NuGet package. Install it alongside Tayra.Core:

shell
dotnet add package Tayra.Compliance

Attempting to resolve a Compliance service (e.g., ITayraCompliance) with an Essentials license will throw a TayraLicenseException.

Pricing & Tiers

For license tiers, pricing, and eligibility details, see tayra.dev/pricing.

To obtain a license key, contact hello@tayra.dev.

Validating Your License

You can check whether a license is valid by resolving the LicenseChecker from the DI container:

csharp
var checker = provider.GetRequiredService<LicenseChecker>();

if (checker.IsLicensed)
{
    Console.WriteLine($"Licensed to {checker.LicenseInfo!.Licensee}");
    Console.WriteLine($"Maintenance until {checker.LicenseInfo.MaintenanceUntil:yyyy-MM-dd}");
}

See Also