Any questions? Ask us: support@enigmaprotector.com

Help

Manual
Additional
Manual

EP_RegKeyExpirationDateEx

EP_RegKeyExpirationDateEx returns the expiration date of the registration key. The registration key should be generated with the Expiration Date option enabled. See Creating Keys for more details.

Parameters

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.

Remark

The function fails in the following cases:

  • there is no valid registration key;
  • the registration key is not limited by time;
  • the application is not protected.

Definition

Show/Hide C++ function definition

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

Show/Hide Delphi function definition

Show/Hide Visual Basic function definition

Show/Hide C# (.NET) function definition

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