Click or drag to resize
BabelRegistryLicenseProvider Class
Represents an license provider used to manage licenses stored in the Windows registry.
Inheritance Hierarchy

Namespace:  Babel.Licensing
Assemblies:   Babel.Licensing (in Babel.Licensing.dll) Version:
  Babel.Licensing (in Babel.Licensing.dll) Version:
public class BabelRegistryLicenseProvider : ILicenseProvider

The BabelRegistryLicenseProvider type exposes the following members.

Public methodBabelRegistryLicenseProvider
Initializes a new instance of the BabelRegistryLicenseProvider class.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLicense
When overridden in a derived class, gets a license for an instance or type of component, when given a context and whether the denial of a license throws an exception.
Protected methodGetRegistryKey
Gets the license string stored into the registry key associated with the given type and object instance. If not overridden, the license string is retrieved from the registry key built using the information stored within the AssemblyCompanyAttribute and AssemblyProductAttribute attributes for the given type according the following rule: HKEY_CURRENT_USER\SOFTWARE\AssmeblyCompanyAttribute\AssemblyProductAttribute\LicenseKey
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodValidateLicenseKey
Validates the license key.
See Also