LicenseWindowsRegistryAlias Constructor (String, AuthorEncryptionKey, Boolean, RegistryHive, String) |
Creates a new
LicenseWindowsRegistryAlias object, which may be used for managing a license file alias located in the Windows registry in a specified root key/hive.
Namespace: com.softwarekey.Client.LicensingAssembly: PLUSManaged (in PLUSManaged.dll) Version: 5.23.4.0
Syntaxpublic LicenseWindowsRegistryAlias(
string location,
AuthorEncryptionKey encryptionKey,
bool useEncryption,
RegistryHive root,
string value
)
Public Sub New (
location As String,
encryptionKey As AuthorEncryptionKey,
useEncryption As Boolean,
root As RegistryHive,
value As String
)
public:
LicenseWindowsRegistryAlias(
String^ location,
AuthorEncryptionKey^ encryptionKey,
bool useEncryption,
RegistryHive root,
String^ value
)
Parameters
- location
- Type: SystemString
The full registry key path. - encryptionKey
- Type: com.softwarekey.Client.UtilsAuthorEncryptionKey
The client encryption key. - useEncryption
- Type: SystemBoolean
Set to true to use encrypted aliases. - root
- Type: Microsoft.Win32RegistryHive
The root key/hive (i.e. RegistryHive.LocalMachine). - value
- Type: SystemString
The name of the registry value (e.g. "Version").
Remarks Caution |
---|
The only root registry key/hive locations supported include HKEY_LOCAL_MACHINE, HKEY_CURRENT_USER, and HKEY_CLASSES_ROOT.
Consequently, the only values supported from the RegistryHive enumeration
include LocalMachine, CurrentUser, and ClassesRoot, respectively.
|
See Also