Table of Contents

Class License

Namespace
OneImlx.Terminal.Licensing
Assembly
OneImlx.Terminal.dll

A terminal framework license.

public sealed class License : License, IDisposable
Inheritance
License
Implements
Inherited Members

Constructors

License(string, string, string, LicenseClaims, LicenseQuota)

Initialize a new instance.

public License(string plan, string usage, string licenseKey, LicenseClaims claims, LicenseQuota quota)

Parameters

plan string

The license plan.

usage string

The license usage.

licenseKey string

The license key.

claims LicenseClaims

The license claims.

quota LicenseQuota

The license quota.

Properties

Claims

The license claims.

public LicenseClaims Claims { get; }

Property Value

LicenseClaims

Failed

Indicates whether the license is in a failed state.

public Error? Failed { get; }

Property Value

Error

LicenseKey

The license key.

public override string LicenseKey { get; }

Property Value

string

Plan

The license plan.

public string Plan { get; }

Property Value

string

Quota

The license quota.

public LicenseQuota Quota { get; }

Property Value

LicenseQuota

Usage

The license usage.

public string Usage { get; }

Property Value

string

Methods

Dispose()

Disposes the license.

public override void Dispose()

SetFailed(Error)

Sets the license to failed state with an error.

public void SetFailed(Error error)

Parameters

error Error