When using passwords with expirations, this method retrieves the next password.

[Visual Basic] Public Function QueryNextPassword() As String
[C#] public string QueryNextPassword();

Return Value

Returns the password string if successful, otherwise returns String.Empty.

Explanation

The QueryNextPassword method retrieves the next password. Use this method when you have set passwords that expire. This method will generate the next password. The Initialize method must be executed before executing the QueryNextPassword method. If the Initialize method has not been successfully executed or if passwords without expirations are being used, the QueryNextPassword method is disabled.

The number of digits in the password are determined by the number of digits in the PcID or in the Lockword, whichever is larger.

Also See

PasswordProtect Members | Newtone.ProtectKit.Win.PasswordProtect