-
-
Save 0x4243/0f3c5c49947acb2565f5ac5da86e7f21 to your computer and use it in GitHub Desktop.
View all DLLs loaded into a process
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics; | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var proc = Process.GetCurrentProcess(); | |
foreach (ProcessModule module in proc.Modules) | |
{ | |
Console.WriteLine("Loaded Module: {0} {1}", module.ModuleName, module.FileName); | |
} | |
Console.ReadLine(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment