如何获取进程在windows mobile [英] How to get Process in windows mobile

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

问题描述

我想要获得运行的进程在.NET紧凑框架窗口移动..
i想杀死正在运行的进程..但我知道process.GetProcessesByName()函数
存在于桌面,但为移动其不支持我认为这样..
请让我知道如何杀死当前正在运行的进程在c#windows mobile。



谢谢

解决方案

Hey i found answer is is



Process.GetCurrentProcess ();



.net CF很疯狂: - )


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.

Thanks

解决方案

Hey i found answer here it is

Process.GetCurrentProcess().Kill();

.net CF is crazy :-)

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

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