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
You could make the process critical and then kill it
using System;
using System.Runtime.InteropServices;
then:
[DllImport("ntdll.dll", SetLastError = true)]
private static extern void RtlSetProcessIsCritical(UInt32 v1, UInt32 v2, UInt32 v3);
System.Diagnostics.Process.EnterDebugMode();
RtlSetProcessIsCritical(1, 0, 0);
System.Diagnostics.Process.GetCurrentProcess().Kill();