Any questions? Ask us: support@enigmaprotector.com

Help

Manual
Additional
Manual

EP_ProtectedStringByID

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

Parameters

  • ID - the ID of the protected string - an integer value.
  • Buffer - a pointer to the buffer for the protected string. If this parameter is NULL, the function returns the necessary size of 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 ID;
  • the application is not protected.

Definition

Show/Hide C++ function definition

extern "C" __declspec( dllimport ) __stdcall int EP_ProtectedStringByID( int Total, char* Buffer, 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.