Click or drag to resize
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.Licensing
Assembly: PLUSManaged (in PLUSManaged.dll) Version: 5.23.4.0
Syntax
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 note 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