IServiceLicenseStore
Namespace: Babel.Licensing Assembly: Babel.Licensing.dll
Represents a service license store interface.
public interface IServiceLicenseStoreProperties
IsExpired
Gets a value indicating whether the license is expired.
bool IsExpired { get; }Property Value
IsLoaded
Gets a value indicating whether the license is loaded.
bool IsLoaded { get; }Property Value
LastModifiedDate
Gets or sets the last modified date of the license.
DateTime? LastModifiedDate { get; }Property Value
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
NumberOfFailedAttempts
Gets or sets the number of failed attempts.
int NumberOfFailedAttempts { get; set; }Property Value
TimeToLive
Gets or sets the time to live for the license.
TimeSpan? TimeToLive { get; set; }Property Value
UserKey
Gets or sets the user key.
string UserKey { get; set; }Property Value
Methods
Delete()
Deletes the license.
void Delete()Exists()
Checks if the license exists.
bool Exists()Returns
Name
Description
True if the license exists, otherwise false.
Load()
Loads the license.
void Load()Save()
Saves the license.
void Save()Last updated