Any questions? Ask us: support@enigmaprotector.com

Help

Manual
Additional
Manual

EP_RegKeyDays

EP_RegKeyDays function returns the Total number of days and the number of days Left that the registration key is limited to. See Creating Keys for more details. See also the extended functions EP_RegKeyDaysLeft and EP_RegKeyDaysTotal.

Parameters

  • Total - the total number of days that the registration key is limited to.
  • Left - the number of days left.

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 registration key is not limited by days;
  • there is no valid registration key;
  • the application is not protected.

Definition

Show/Hide C++ function definition

extern "C" __declspec( dllimport ) __stdcall BOOL EP_RegKeyDays( int* Total, int* Left );

Show/Hide Delphi function definition

Show/Hide Visual Basic function definition

Show/Hide C# (.NET) function definition

See function examples in the installation folder.