[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1447
  • Last Modified:

PE File Format & C#

I am writing an application that looks at dependencies and outputs from projects (Managed and un-managed) i want to be able to point my application at any PE format file and read the import section to see what it has as a dependency i.e.
MyDll.dll links to kernel32.dll.

Is there anything in C# that will allow me to do this?
0
ice_nin
Asked:
ice_nin
1 Solution
 
OctabunCommented:
http://physio-a.univ-tours.fr/tcplugins/ has a FileInfo plugin for Total Commander that does that for unmanaged code. Last time I checked, the download contained C++ source.

For managed assemblies the DLL dependency is mscoree.dll. If you see it, get references using .NET methods.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now