When using passwords with expirations, this method retrieves the next random PC identifier.

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

Return Value

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

Explanation

The QueryNextRandom method retrieves the random PC identifier. Use this method when you have set passwords that expire. This is the random identifier contained in the PcID as retrieved by the QueryNextPcID method.

The Initialize method must be executed before executing the QueryNextRandom method. If the Initialize method has not been successfully executed or if passwords without expirations are being used, the QueryNextRandom method is disabled.

Also See

PasswordProtect Members | Newtone.ProtectKit.Win.PasswordProtect