Class LicenseInfo
License information parsed from JWT token.
Contains issuer, features, version limits, and expiration data.
public record LicenseInfo : IEquatable<LicenseInfo>
Inheritance
Implements
Properties
Features
Licensed features: "core.pro", "postgres.pro", "mssql.pro"
public string[] Features { get; init; }
IsEducational
True if this is an educational (non-commercial) license.
public bool IsEducational { get; }
LicenseId
Unique license identifier (jti claim) for revocation support
public string LicenseId { get; init; }
LicenseType
License type: "commercial" (default) or "educational"
public string LicenseType { get; init; }
Methods
HasFeature(string)
Checks if the license includes a specific feature.
public bool HasFeature(string feature)
IsVersionValid(Version)
Checks if the license version covers the given library version.
public bool IsVersionValid(Version assemblyVersion)
Constructors
LicenseInfo(string, string, string, string, string, string?, string[], Version, DateTimeOffset, DateTimeOffset?, string)
License information parsed from JWT token.