BabelServiceLicenseProvider

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

Provides implementation for obtaining licenses from a BabelLicensing service.

public class BabelServiceLicenseProvider : ServiceLicenseProvider, IAsyncLicenseProvider, ILicenseProvider

Inheritance

objectServiceLicenseProviderBabelServiceLicenseProvider

Implements

IAsyncLicenseProvider, ILicenseProvider

Inherited Members

ServiceLicenseProvider.GetUserKey(), ServiceLicenseProvider.GetLicenseAsync(ILicenseContext, Type, object, CancellationToken), ServiceLicenseProvider.OnLicenseActivated(object, LicenseActivatedEventArgs), ServiceLicenseProvider.OnLicenseDeactivated(object, LicenseDeactivatedEventArgs), ServiceLicenseProvider.OnLicenseDeactivationError(object, LicenseDeactivationErrorEventArgs), ServiceLicenseProvider.OnFloatingLicenseLost(string, string, Exception), ServiceLicenseProvider.OnLicenseValidated(object, LicenseValidatedEventArgs), ServiceLicenseProvider.OnLicenseValidationError(object, LicenseValidationErrorEventArgs), ServiceLicenseProvider.GetServiceStore(), ServiceLicenseProvider.ValidateLicenseKey(string, ILicenseContext, Type, object), ServiceLicenseProvider.DeleteServiceStore(), ServiceLicenseProvider.CreateServiceLicenseContext(ILicenseContext), ServiceLicenseProvider.LicenseRefreshInterval, ServiceLicenseProvider.ThrowExceptionWhenServiceUnavailable, ServiceLicenseProvider.FailTolerance, ServiceLicenseProvider.DeleteLicenseWhenRevoked, ServiceLicenseProvider.UserKey, ServiceLicenseProvider.Service, ServiceLicenseProvider.FloatingLicenseLost, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

BabelServiceLicenseProvider(BabelLicensing)

Initializes a new instance of the BabelServiceLicenseProvider class.

public BabelServiceLicenseProvider(BabelLicensing service)

Parameters

NameDescription

The BabelLicensing service used to validate licenses.

Exceptions

NameDescription

Thrown if service is null.

Methods

GetServiceStore()

Retrieves the service license store associated with the current license provider.

protected override IServiceLicenseStore GetServiceStore()

Returns

NameDescription

An instance of representing the service license store.

Last updated