ExpirationDate Method of the License Object
This method returns the date at which the license will stop working if the license has an absolute or relative time limitation.
Syntax
C++
HRESULT ExpirationDate( int* Year, int* Month, int* Day, VARIANT_BOOL* HasTimeLimitation );
C#
bool ExpirationDate( out int Year, out int Month, out int Day );
Visual Basic .NET
Function ExpirationDate( _ ByRef Year As Integer, _ ByRef Month As Integer, _ ByRef Day As Integer _ ) As Boolean
Parameters
- Year
- [out] A pointer to the int variable that receives the year of the expiration or 0 if no time limitation is used.
- Month
- [out] A pointer to the int variable that receives the month of the expiration or 0 if no time limitation is used.
- Day
- [out] A pointer to the int variable that receives the day of the expiration or 0 if no time limitation is used.
- HasTimeLimitation
- [out, retval] A pointer to the bool variable that receives the flag indicating whether a time limitation is used.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
See also
17.09.2024 15:14:40