RegistryKeys
Namespace: Babel.Licensing Assembly: Babel.Licensing.dll
A class to manage license registry keys.
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
RegistryKeys()
Initializes a new instance of the class.
Properties
Root
Gets or sets the registry hive.
Property Value
Methods
CreateLicenseKey(Assembly, string)
Creates a registry key for the specified assembly and license key.
Parameters
Name | Description |
---|---|
| The assembly for which to create the registry key. |
| The license string. |
DeleteLicenseKey(Assembly)
Deletes the license key for the specified assembly.
Parameters
Name | Description |
---|---|
| The assembly for which to delete the license key. |
GetAssemblySubKey(Assembly)
Gets the registry sub key for the specified assembly.
Parameters
Name | Description |
---|---|
| The assembly for which to retrieve the license key. |
Returns
Name | Description |
---|---|
The assembly sub key. |
GetLicenseKey(Assembly)
Gets the license key for the specified assembly.
Parameters
Name | Description |
---|---|
| The assembly for which to retrieve the license key. |
Returns
Name | Description |
---|---|
The license key. |
Last updated