Click or drag to resize
RegistryLicenseProvider 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: 2.4.0.0
  Babel.Licensing (in Babel.Licensing.dll) Version: 2.4.0.0
Syntax
public class RegistryLicenseProvider : BabelLicenseProvider

The RegistryLicenseProvider type exposes the following members.

Constructors
  NameDescription
Public methodRegistryLicenseProvider
Initializes a new instance of the RegistryLicenseProvider class.
Top
Methods
  NameDescription
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 a hash function for a particular type.
(Inherited from Object.)
Public methodGetLicense(ILicenseContext, Type, Object)
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.
(Overrides BabelLicenseProviderGetLicense(ILicenseContext, Type, Object).)
Public methodGetLicense(LicenseContext, Type, Object, Boolean)
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.
(Inherited from BabelLicenseProvider.)
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.
Top
See Also