IsCodeProtected Method

Use IsCodeProtected to check whether the code of a method was processed by ArmDot, or not.

public static bool IsCodeProtected();

Returns

If IsCodeProtected is called from a method that was not processed by ArmDot, IsCodeProtected returns false.

If IsCodeProtected is called from a method that was processed by ArmDot, IsCodeProtected returns true.