logo_wupi_64x64px WupiEncryptCode

WupiEncryptCode encrypts a function. The function to encrypt has to be configured in the IxProtector settings.

  • C, C++
  • C#

Syntax

int WupiEncryptCode(int iFunction);

Parameters

•iFunction refers to a function index.

Return

This function returns FALSE (0), if an error occurs, otherwise TRUE (1).

EncryptCode

Syntax

public static bool EncryptCode(MethodBase Method)

Parameters

•Method that is discarded.

Return

This function returns false, if an error occurs, otherwise true.

EncryptCodeName

Syntax

public static bool EncryptCodeName(string MethodName)

Parameters

•MethodName full name of the method that is discarded.

Return

This function returns false, if an error occurs, otherwise true.

EnryptCodeToken

Syntax

public static bool EncryptCodeToken(int MethodToken)

Parameters

•MethodToken metadata token of the method that is discarded.

Return

This function returns false, if an error occurs, otherwise true.