title: Getting a list of DLLs currently loaded in a process C#
body: <p>In Process Explorer I can view all the dlls (and dll details) loaded by a process selected. How can do this programmatically? </p>
  
  <p>I can get a specific process details like this. But unsure where to go from here?</p>
  
  <pre><code>Process[] processlist = Process.GetProcesses();
  
  foreach(Process theprocess in processlist){
  Console.WriteLine(“Process: {0} ID: {1}”, theprocess.ProcessName, theprocess.Id);
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/4P1Lb.png" rel="noreferrer"><img src="https://i.stack.imgur.com/4P1Lb.png" alt="enter image description here"></a></p>