我怎么能杀死系统中无法杀死的基本过程 [英] how i can Kill the basic processes which can not be killed in the system

查看:72
本文介绍了我怎么能杀死系统中无法杀死的基本过程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我希望VB.NET应用程序中的代码或方法能够杀死无法杀死的基本进程,例如防病毒操作



在7和XP系统中无法使用taskmanger或process explorer杀死,但在系统中win 8可以通过使用taskmanger轻松杀死



有没有杀死这些进程的代码

Hi guys
I want code or method in VB.NET application to kill the basic processes which can not be killed, for example antivirus operations

In 7 and XP systems can not be killed with taskmanger or process explorer, but in the system win 8 can be easily killed by using taskmanger

Is there a code to kill these processes

推荐答案

我不知道它是否可行但你可以尝试托管类; System.Diagnostics.Process.Kill



或非托管: TerminateProcess



http:// www.pinvoke.net/default.aspx/kernel32/TerminateProcess.html [ ^ ]
I do not know if it would work but you could try the managed class; System.Diagnostics.Process.Kill

or the unmanaged: TerminateProcess

http://www.pinvoke.net/default.aspx/kernel32/TerminateProcess.html[^]


这篇关于我怎么能杀死系统中无法杀死的基本过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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