Created
July 20, 2018 02:42
-
-
Save malcomvetter/ad522aa5d0e60379c5eb41c8e8cb3862 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