如何获取过程,在Windows Mobile [英] How to get Process in windows mobile

查看:112
本文介绍了如何获取过程,在Windows Mobile的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在.NET Framework精简版的Windows Mobile正在运行的进程.. 我要杀死正在运行的进程..但我知道process.GetProcessesByName()函数 为present在桌面上,但其手机不支持我想是这样.. 请让我知道如何杀死presently在C#中的Windows Mobile正在运行的进程。

i want to get the running process in .net compact framework windows mobile.. i want to kill the running process.. but i know process.GetProcessesByName() function is present in desktop, but for mobile its not supported i think so.. please let me know how to kill the presently running process in c# windows mobile.

感谢

推荐答案

嘿,我找到答案这里是

Process.GetCurrentProcess()杀死();

Process.GetCurrentProcess().Kill();

.NET CF是疯了: - )

.net CF is crazy :-)

这篇关于如何获取过程,在Windows Mobile的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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