[DllImport("kernel32.dll",CharSet=CharSet.Auto,ExactSpelling=true)] internal static extern bool IsDebuggerPresent();
System.Diagnostics.Debugger.IsAttached