ILicenseContext

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

Interface for license context.

public interface ILicenseContext : ILicenseServiceProvider

Implements

ILicenseServiceProvider

Properties

ContextName

Gets the name of the context.

string ContextName { get; }

Property Value

string

FallbackContext

Gets or sets a context for the fallback.

ILicenseContext FallbackContext { get; set; }

Property Value

ILicenseContext

Settings

Gets or sets license context options.

ContextSettings Settings { get; set; }

Property Value

ContextSettings

Methods

LoadLicenseKey(Type)

Loads license key.

string LoadLicenseKey(Type type)

Parameters

NameDescription

type Type

The type associated with the license.

Returns

NameDescription

The license key.

SaveLicenseKey(Type, string)

Saves a license key.

void SaveLicenseKey(Type type, string key)

Parameters

NameDescription

type Type

The type associated with the license.

key string

The license key.

Last updated