programmatically trigger BSOD

后端 未结 7 1086
闹比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:07

    Use Process.Start to run the SysInternals NotMyFault tool which causes a BSOD (it uses a diver to do this which is the only way).

    Killing csrss.exe would also work currently but that that's an undocumented way that might just go away in future version of Windows. NotMyFault uses a documented and clean way to do it.

提交回复
热议问题