This type contains the following members.

public sealed class LicenseContext: ILicenseContext
Inheritance:
ObjectLicenseContext
Implements:
ILicenseContext

Constructors

LicenseContext(IRedaktSystem, IOptions<RedaktOptions>, ILogger<LicenseContext>, IServiceProvider)

Properties

ActiveLicenseKey
IsLicensed
LicensedSeatCount
ClaimedSeats
ClaimedSeatCount
AvailableSeatCount

Methods

RecalculateClaimedSeatsAsync() Recalculates the total claimed license seats for the system. Components should call this method after any action that changes the number of claimed seats, in order to reflect this change in the available seats.
SetLicenseKeyAsync(string)
SyncOnlineLicenseAsync()
PostStateAsync(bool)
GetSecretHash(LicenseKey)