programmatically trigger BSOD

后端 未结 7 1080
闹比i
闹比i 2020-12-08 01:40

Purely for academic reasons.

is it possible to programmatically cause a BSOD to occur under windows xp/windows 7 in C#/.NET.

I\'m suggesting there\'s got to

7条回答
  •  不思量自难忘°
    2020-12-08 02:06

    Killing process "csrss.exe" causes BSOD.

    But you need Administrator privileges to do this. I'm not sure there is a way to do this purely with restricted privileges.

    EDIT:

    Yep, it works alright. I cooked myself a nice little BSOD :)

    System.Diagnostics.Process.GetProcessesByName("csrss")[0].Kill();
    

提交回复
热议问题