|
Available in EFT Server 6.1 and later. |
The ICIPGPKeyInfo::ExpirationDate read-only property allows you to retrieving the expiration date of the PGP key. This property is applicable only if the NeverExpires property is set to False.
HRESULT ExpirationDate([out, retval] DATE* pVal);
If Not Key.NeverExpires Then
MsgBox "This key will be expired at " & CStr(Key.ExpirationDate)
End If