C#中的BSOD(用户模式) [英] BSOD in C# (user-mode)

查看:85
本文介绍了C#中的BSOD(用户模式)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好!
请帮我!我需要用C#编写代码以从用户模式=)
调用BSOD
我认为应该使用非托管代码,是吗? =)


感谢任何想法!


最好的问候=)

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 =)

推荐答案

您无法致电" BSOD.在您看到其中之一之前,您的系统上确实发生了一些麻烦.您要尝试使用WTF吗?
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?


我对此可能有一点错,但是,恕我直言,用户模式代码中没有BSOD之类的东西. >
您必须以某种方式欺骗驾驶员使其跌倒.我认为使用普通用户帐户是不可能的.编写的所有内容都可能必须从管理员级别的帐户运行.
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.


可以在需要对系统进行更改后使用键盘生成BSOD.开发人员可以使用它来检查其应用程序如何处理此类崩溃.

Windows功能使您可以使用键盘生成内存转储文件 [
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[^]


这篇关于C#中的BSOD(用户模式)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆