0

Is there any operating system's Process Manager library in c#? Forexample when new application started or closed I want to get that process name from my code.

Mustafa Ekici
  • 7,263
  • 9
  • 55
  • 75
  • Check the [`Process`](http://msdn.microsoft.com/en-us/library/system.diagnostics.process.aspx) class. One example: http://www.codeproject.com/KB/cs/CustomTaskManager.aspx – Otiel Dec 05 '11 at 08:46

1 Answers1

1

you can try using this Namespace System.Diagnostics

foreach (System.Diagnostics.Process p in
    System.Diagnostics.Process.GetProcesses())
{
    // do ur stuff;

} 
FosterZ
  • 3,863
  • 6
  • 38
  • 62