(C++) IsDebuggerPresent by Thomas Roccia

Created the Thursday 17 September 2020. Updated 3 years, 7 months ago.

Code

            #include <windows.h>
#include <stdio.h>

int main(int argc, char** argv)
{
	if (IsDebuggerPresent())
	{
            printf("Debugger detected!!\n");
	}
	else
	{
	    printf("No debugger detected!!\n");
	}
	system("pause");
	return 0;
}