Any questions? Ask us: support@enigmaprotector.com

Help

Manual
Additional
Manual

EP_RegKeyDaysLeft

EP_RegKeyDaysLeft function returns the number of days Left that the registration key is limited to. EP_RegKeyDaysLeft extends EP_RegKeyDays. See Creating Keys for more details.

Parameters

The function does not have parameters.

Return Value

If the function succeeds, the return value is the number of days Left. If the function fails, the return value is 0.

Remark

The function fails in the following cases:

  • the registration key is not limited by days;
  • there is no valid registration key;
  • the days limit has expired, there are no days left;
  • the application is not protected.

Definition

Show/Hide C++ function definition

extern "C" __declspec( dllexport ) __stdcall int EP_RegKeyDaysLeft();

Show/Hide Delphi function definition

Show/Hide Visual Basic function definition

Show/Hide C# (.NET) function definition

See function examples in the installation folder.