Click here to Skip to main content
15,886,963 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
Hello!
Please, help me! I need to write the code in C# to call the BSOD from user-mode =)

I think the unmanaged code should be used for this, yes? =)


Thx for any ideas!


My best regards =)
Posted
Comments
Philippe Mori 30-Jul-11 19:10pm    
Managed code is effectively safer than unmanaged code... but even in unmanaged code, it should not be possible to generate a BSOD. If an hole would get found, then a security fix would probably be issued. And if such holes exist, they would probably be dependent on the OS and the hardware of a particular computer.

You can't "call" a BSOD. Something really screwed up has to happen on your system before you see one of those. WTF are you trying to do?
 
Share this answer
 
I may be a little wrong about this, but, IMHO, there's no such thing as a BSOD in user-mode code.

You'd have to, somehow, trick a driver into falling on its face. I don't think that it's possible from a normal user account. Annything you write may have to be run from an admin-level account.
 
Share this answer
 
It is possible to generate a BSOD using the keyboard after having required changes to the system. Developers can uses that to check how their application handle such crash.

Windows feature lets you generate a memory dump file by using the keyboard[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900