Any questions? Ask us:




EP_RegKeyRegisterAfterDateEx returns the Register After date from the registration key. See Creating Keys for more details.


The function does not have parameters.

Return Value

If the function succeeds, the return value is a 32-bit unsigned integer value that represents the Date value. The high byte of the high word contains a day value, the low byte of the high word contains a month value, the low word contains a year value. For example, the returned value 0x10012010 ($10012010) means the 10 January 2010 date. If the function fails, the return value is 0.


The function fails in the following cases:

  • the registration key does not contain the Register After date;
  • there is no valid registration key;
  • the application is not protected.


Show/Hide C++ function definition

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

Show/Hide Delphi function definition

Show/Hide Visual Basic function definition

Show/Hide C# (.NET) function definition

See function examples in the installation folder.