【问题标题】:How to get Process in windows mobile如何在windows mobile中获取进程
【发布时间】:2010-12-01 07:58:04
【问题描述】:

我想在 .net compact framework windows mobile 中获取正在运行的进程。 我想杀死正在运行的进程..但我知道 process.GetProcessesByName() 函数 存在于台式机中,但对于移动设备,我认为不支持.. 请让我知道如何在 c# windows mobile 中终止当前正在运行的进程。

谢谢

【问题讨论】:

    标签: c# .net c++ windows-mobile winapi


    【解决方案1】:

    嘿,我在这里找到了答案

    Process.GetCurrentProcess().Kill();

    .net CF 很疯狂 :-)

    【讨论】:

      猜你喜欢
      • 2011-08-23
      • 2015-11-02
      • 2012-01-13
      • 2023-03-31
      • 2010-10-01
      • 2011-10-07
      • 2010-11-19
      • 2012-08-29
      • 2018-12-21
      相关资源
      最近更新 更多