How to get Process in windows mobile

心不动则不痛 提交于 2019-12-08 10:56:06

问题


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


回答1:


Hey i found answer here it is

Process.GetCurrentProcess().Kill();

.net CF is crazy :-)



来源:https://stackoverflow.com/questions/1475662/how-to-get-process-in-windows-mobile

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!