Есть вопросы? Напишите нам: support@enigmaprotector.com

Справка

Руководство
Additional
Руководство

EP_TrialExpirationDate

EP_TrialExpirationDate function returns the trial expiration date. The trial expiration date should be defined on the TRIAL CONTROL - Limitation of expiration date panel. See also the extended function EP_TrialExpirationDateEx.

Parameters

  • Year - the year of the trial expiration date.
  • Month - the month of the trial expiration date.
  • Day - the day of the trial expiration date.

Return Value

If the function succeeds, the return value is 1. If the function fails, the return value is 0.

Remark

The function fails in the following cases:

  • the limitation of the expiration date was not enabled;
  • the application is not protected.

If the user's PC has several user accounts, the trial information will be different for each user.

Definition

Show/Hide C++ function definition

extern "C" __declspec( dllimport ) __stdcall BOOL EP_TrialExpirationDate( int* Year, int* Month, int* Day );

Show/Hide Delphi function definition

Show/Hide Visual Basic function definition

Show/Hide C# (.NET) function definition

Examples

Show/Hide Delphi function example

See function examples in the installation folder, Examples\Trial subfolder.