Retrieving Currently running processes in c#.net

Description


The below given code will retrieve all currently running process in the computer.

Add this namespace to your form:

System.Diagnostics


//below code will retrieve all process running in the machine.
Process MyProcesses = Process.GetProcesses();


Comments

Author: rpkumar08 May 2010 Member Level: Bronze   Points : 1

thanx its really helpful
Programmer
Richonet Technologies Pvt. Ltd
http://www.richonet.com



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: