Any questions? Ask us: support@enigmaprotector.com

Help

Manual
Additional
Manual

EP_RegKeyExpirationDate

EP_RegKeyExpirationDate function serves for retrieving the registration key expiration date. The registration should be generated with the Key Expiration Date option enabled. See Creating Keys for more details. See also the extended function EP_RegKeyExpirationDateEx.

Parameters

  • Year - the year of the key expiration date.
  • Month - the month of the key expiration date.
  • Day - the day of the key 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:

  • 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( dllimport ) __stdcall BOOL EP_RegKeyExpirationDate( 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\KeyExpiration subfolder.

s