This method retrieves the protection information.

[Visual Basic] Public Function QueryProtectInformation() As Boolean
[C#] public bool QueryProtectInformation();

Return Value

Returns the true if successful, otherwise returns false.

Explanation

The QueryProtectInformation method retrieves the protection information that was set by the PrNETSetProtect.EXE.

The Initialize method must be executed before executing the QueryProtectInformation method. If the Initialize method has not been successfully executed, the QueryProtectInformation method is disabled.

The retrieved information is set into the following properties; Count property, Days property, Expiration property, Months property, MonthsType property, PasswordExpiration property, PasswordType property, ProtectWay property, RegistryKey property, RegistrySubkeyRandom property, RegistrySubkeyStatus property, RegistryValueNameRandom property, and RegistryValueNameStatus property.

Also See

PasswordProtect Members | Newtone.ProtectKit.Win.PasswordProtect