Загрузка...

[C#] help pls

Thread in C# created by PomoIka000 Jul 17, 2018. 153 views

  1. PomoIka000
    PomoIka000 Topic starter Jul 17, 2018 0 Jun 6, 2018
    можно ли как нибудь залочить alt + f4? (делаю винлок по фану)
    upd: нашёл
    Code

    Process pc = new Process();
    pc.StartInfo.FileName = "cmd";
    pc.StartInfo.Arguments = "/c REG ADD HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System /v DisableTaskMgr /t REG_DWORD /d 1 /f ";
    pc.Start(); // Блокировка диспетчера задач

    /close
     
  2. PomoIka000
    PomoIka000 Topic starter Jul 17, 2018 0 Jun 6, 2018
    upd: нашёл
    Code

    Process pc = new Process();
    pc.StartInfo.FileName = "cmd";
    pc.StartInfo.Arguments = "/c REG ADD HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System /v DisableTaskMgr /t REG_DWORD /d 1 /f ";
    pc.Start(); // Блокировка диспетчера задач

    /close
     
Loading...
Top