Click here to Skip to main content
15,912,329 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello
i want to get all program list that are running by c# . who can help me ?
thank
Posted

1 solution

This should be able to get you something

C#
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[^]
 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 18-Feb-11 16:37pm    
Correct answer, important method to know, my 5.
--SA
fjdiewornncalwe 18-Feb-11 20:10pm    
+5. Clean and simple.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900