GetModuleInformation

[DllImport("psapi.dll", SetLastError = true)]
public static extern bool GetModuleInformation(
   IntPtr hProcess,
   IntPtr hModule,
   ref MODULEINFO lpmodinfo,
   uint cb
);

Microsoft documentation: Link

Last updated