IServiceLicenseStore

Namespace: Babel.Licensing Assembly: Babel.Licensing.dll

Represents a service license store interface.

public interface IServiceLicenseStore

Properties

IsExpired

Gets a value indicating whether the license is expired.

bool IsExpired { get; }

Property Value

bool

IsLoaded

Gets a value indicating whether the license is loaded.

bool IsLoaded { get; }

Property Value

bool

LastModifiedDate

Gets or sets the last modified date of the license.

DateTime? LastModifiedDate { get; }

Property Value

DateTime?

LicenseKey

Gets or sets the license key in byte array format.

byte[] LicenseKey { get; set; }

Property Value

byte[]

LicenseToken

Gets or sets the license token.

string LicenseToken { get; set; }

Property Value

string

NumberOfFailedAttempts

Gets or sets the number of failed attempts.

int NumberOfFailedAttempts { get; set; }

Property Value

int

TimeToLive

Gets or sets the time to live for the license.

TimeSpan? TimeToLive { get; set; }

Property Value

TimeSpan?

UserKey

Gets or sets the user key.

string UserKey { get; set; }

Property Value

string

Methods

Delete()

Deletes the license.

void Delete()

Exists()

Checks if the license exists.

bool Exists()

Returns

NameDescription

True if the license exists, otherwise false.

Load()

Loads the license.

void Load()

Save()

Saves the license.

void Save()

Last updated