Есть вопросы? Напишите нам: support@enigmaprotector.com

Справка

Руководство
Additional
Руководство

EP_ProtectedStringByKey

The EP_ProtectedStringByKey function returns protected strings. See also Protection Features - Protected Strings.

Parameters

  • Key - a pointer to the null terminated string that contains a key of the protected string.
  • Buffer - a pointer to the buffer for the protected string. If this parameter is NULL, the function returns the necessary size of the buffer.
  • Len - the size of the buffer for the protected string.

Return Value

The function returns the size of the buffer for a protected string or 0 if the function fails.

Remark

The function fails in the following cases:

  • there is no protected string with the specified Key;
  • the application is not protected.

Definition

Show/Hide C++ function definition

extern "C" __declspec( dllimport ) __stdcall int EP_ProtectedStringByKey( char* Key, char* Left, int Len);

Show/Hide Delphi function definition

Show/Hide Visual Basic function definition

Show/Hide C# (.NET) function definition

Examples

Show/Hide Delphi function example

Show/Hide C# (.NET) function example

Show/Hide Visual Basic function example

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