This property retrieves the root key for the registry where the protection information is saved.

[Visual Basic] Public ReadOnly Property RegistryKey As Integer
[C#] public int RegistryKey {get;}

Property Value

Read Only

Value Explanation
0 HKEY_CLASSES_ROOT
1 HKEY_LOCAL_MACHINE\SOFTWARE

Explanation

The RegistryKey property retrieves the root key for the registry where the protection information is saved.

The RegistryKey property value is set after the OueryProtectInformation method has been successfully executed.

 

Also See

PasswordProtect Members | Newtone.ProtectKit.Win.PasswordProtect