|LicenseWindowsRegistryAlias Constructor (String, AuthorEncryptionKey, Boolean, RegistryHive, RegistryViews, String)|
public LicenseWindowsRegistryAlias( string location, AuthorEncryptionKey encryptionKey, bool useEncryption, RegistryHive root, RegistryViews registryView, string value )
Public Sub New ( location As String, encryptionKey As AuthorEncryptionKey, useEncryption As Boolean, root As RegistryHive, registryView As RegistryViews, value As String )
public: LicenseWindowsRegistryAlias( String^ location, AuthorEncryptionKey^ encryptionKey, bool useEncryption, RegistryHive root, RegistryViews registryView, String^ value )
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.
Specifying anything other than DefaultView will require your application to target .NET Framework 4.0 or later. If you use anything other than DefaultView while targeting earlier versions of the .NET Framework, this alias object will fail to function, and will contain a corresponding error in the LastError property.