C#获取某个进程加载的DLL信息

2024-12-12 21:33:34
推荐回答(1个)
回答1:

using System;
using System.Diagnostics;

internal static class Program
{
private static void Main()
{
foreach (Process p in Process.GetProcessesByName("explorer"))
foreach (ProcessModule m in p.Modules)
Console.WriteLine(m.FileName);
}
}