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.
Asked
Active
Viewed 981 times
0
-
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 Answers
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
-
-
1http://stackoverflow.com/questions/1986249/c-sharp-process-monitor check this one – FosterZ Dec 05 '11 at 08:59