dEEpEst Posted June 20, 2014 Share Posted June 20, 2014 [HIDE-THANKS][LENGUAJE=c]//original code by ChainCoder //ported to c# by d14l [DllImport("kernel32.dll")] static extern void Sleep(uint dwMilliseconds); [DllImport("kernel32.dll")] public static extern uint GetTickCount(); public static bool antiemulator() { uint TimeN; uint TimeA; TimeN = GetTickCount(); Sleep(500); TimeA = GetTickCount(); if ((TimeA - TimeN) { return true; } else { return false; } [/LENGUAJE][/HIDE-THANKS] Link to comment Share on other sites More sharing options...
Recommended Posts