Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Running Processes and DLLs

Posted on 2004-10-04
1
Medium Priority
?
232 Views
Last Modified: 2010-04-15
Is there a way, from Windows Application, to list all running processes and their associated DLLs?
0
Comment
Question by:fattumsdad
1 Comment
 
LVL 8

Accepted Solution

by:
Razzie_ earned 1500 total points
ID: 12222077
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question