• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 234
  • Last Modified:

Running Processes and DLLs

Is there a way, from Windows Application, to list all running processes and their associated DLLs?
0
fattumsdad
Asked:
fattumsdad
1 Solution
 
Razzie_Commented:
Process[] pList = Process.GetProcesses();
foreach(Process p in pList)
{
      foreach(ProcessModule pm in p.Modules)
            Console.WriteLine("Process: " + p.ProcessName + " has module " + pm.FileName);
}


HTH,

Razzie
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now