public static void EnterDebugMode() { SetPrivilege(Interop.Advapi32.SeDebugPrivilege, (int)Interop.Advapi32.SEPrivileges.SE_PRIVILEGE_ENABLED); }
public void EnterLeaveDebugMode() { Process.EnterDebugMode(); Process.LeaveDebugMode(); }