(C++) IsDebuggerPresent by Thomas Roccia

Created the Thursday 17 September 2020. Updated 2 years, 2 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;
}