This property retrieves the expiration date after which the application will no longer run.

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

Property Value

Read Only

Explanation

The Expiration property retrieves the expiration date after which the application will no longer run. If the Expiration property is checked before the application program has run then the value retrieved will be the initial value.

To set an expiration date of 2009/12/31, for example, set the Expiration property value to 20091231.

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

 

Also See

PasswordProtect Members | Newtone.ProtectKit.Win.PasswordProtect