Block Control+Alt+Delete

后端 未结 14 726
渐次进展
渐次进展 2020-12-03 08:35

I am doing an Online Quiz project in C#. The test client is a Windows Desktop Application running on Windows XP. I need to block the control+alt+d

14条回答
  •  春和景丽
    2020-12-03 09:12

    You can pre-run the hidden process taskmgr.exe

    ProcessStartInfo psi = new ProcessStartInfo(System.IO.Path.Combine(Environment.SystemDirectory, "taskmgr.exe"));
    psi.RedirectStandardOutput = false;
    psi.WindowStyle = ProcessWindowStyle.Hidden;
    psi.UseShellExecute = true;
    
    processTaskMgr = Process.Start(psi);
    

提交回复
热议问题