ServiceLicenseProvider.ServiceLicenseContext
Namespace: Babel.Licensing Assembly: Babel.Licensing.dll
Service license context.
Inheritance
object ← ServiceLicenseProvider.ServiceLicenseContext
Implements
IServiceLicenseContext, ILicenseContext, ILicenseServiceProvider
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
ServiceLicenseContext(ServiceLicenseProvider, ILicenseContext)
Constructor an instance of the ServiceLicenseContext class.
Parameters
Name | Description |
---|---|
| The service license provider. |
| The parent license context. |
Properties
ContextName
Get the name of the context.
Property Value
FallbackContext
Get the fallback context.
Property Value
Settings
Get the context settings.
Property Value
ShouldRefresh
Whether the license should be refreshed on the server.
Property Value
UserKey
Get the user key associated with the activated license.
Property Value
Methods
Clear()
Clears the license.
GetService(Type)
Gets a service.
Parameters
Name | Description |
---|---|
| Type of the service. |
Returns
Name | Description |
---|---|
The service instance. |
LoadLicenseKey(Type)
Loads license key.
Parameters
Name | Description |
---|---|
| The type associated with the license. |
Returns
Name | Description |
---|---|
The license key. |
SaveLicenseKey(Type, string)
Saves a license key.
Parameters
Last updated