获取所有正在运行的程序 [英] get all program that are running
本文介绍了获取所有正在运行的程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好
我想获取由c#运行的所有程序列表.谁可以帮助我?
感谢
解决方案
这应该能够为您带来一些帮助
Process [] processAll = Process.GetProcesses(); foreach (在 processAll中处理进程 // 在这里做一些有趣的事情 }
请参阅此处以获得文档 http://msdn.microsoft.com/en-us/library/1f3ys1f9.aspx [^ ]
hello
i want to get all program list that are running by c# . who can help me ?
thank
解决方案
This should be able to get you something
Process[] processAll = Process.GetProcesses(); foreach(Process theprocess in processAll ){ // do some fun stuff here }
See here for documentation http://msdn.microsoft.com/en-us/library/1f3ys1f9.aspx[^]
这篇关于获取所有正在运行的程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文