Solved

Running Processes and DLLs

Posted on 2004-10-04
1
217 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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

911 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now