This property retrieves whether or not the password has an expiration.

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

Property Value

Read Only

Value Explanation
false The password has no expiration
true The password has an expiration

Explanation

The PasswordExpiration property retrieves whether or not the password has an expiration.

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

 

Also See

PasswordProtect Members | Newtone.ProtectKit.Win.PasswordProtect