When using passwords with expirations, this method determines whether or not the next period of protection is locked or unlocked.

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

Parameters

None

Return Value

Returns the true if protection is unlocked for the next protection period, otherwise returns false.

Explanation

The QueryIsNextUnlocked method determines whether or not the next period of protection is locked or unlocked. This method is only enabled when using passwords with expirations.

This method can be used to confirm whether or not the SetNextPassword has been used to set a password.

The method is disabled if the Initialize method has not already been executed and if not using passwords with expirations.

Also See

PasswordProtect Members | Newtone.ProtectKit.Win.PasswordProtect