Click here to Skip to main content
12,301,965 members (54,914 online)
Click here to Skip to main content
Articles » Languages » C# » Utilities » Downloads

Tagged as

Stats

21.7K views
1.7K downloads
36 bookmarked
Posted

A Resource Hacker in C# .NET

, 6 Mar 2012 CPOL
How to get into a .NET DLL file and extract its types, show their information, extract the members of each type, and even invoke them.
ResourceHackerCS
MyResourceHacker
bin
Debug
MyResourceHacker.exe
MyResourceHacker.pdb
MyResourceHacker.vshost.exe
MyResourceHacker.vshost.exe.manifest
Release
obj
x86
Debug
DesignTimeResolveAssemblyReferences.cache
DesignTimeResolveAssemblyReferencesInput.cache
GenerateResource.read.1.tlog
GenerateResource.write.1.tlog
MyResourceHacker.exe
MyResourceHacker.frmMain.resources
MyResourceHacker.InputBox.resources
MyResourceHacker.pdb
MyResourceHacker.Properties.Resources.resources
TempPE
Properties
MyResourceHacker.sln.docstates
MyResourceHacker.suo
SampleDll
bin
Debug
SampleDll.dll
SampleDll.pdb
Release
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache
SampleDll.dll
SampleDll.pdb
TempPE
Properties
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following 
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MyResourceHacker")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("MyResourceHacker")]
[assembly: AssemblyCopyright("Copyright ©  2011")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible 
// to COM components.  If you need to access a type in this assembly from 
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("8f95febe-f138-48e9-acd0-b42bf78c6a7a")]

// Version information for an assembly consists of the following four values:
//
//      Major Version
//      Minor Version 
//      Build Number
//      Revision
//
// You can specify all the values or you can default the Build and Revision Numbers 
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Morteza Giti
Student
Iran (Islamic Republic of) Iran (Islamic Republic of)
I have an Msc. in software engineering. Actually, I began programming when I was around eleven. Having started my journey with VB6, I moved to VB.NET after two years and one year later I turned my face to C# as I found it more interesting and challenging. Through the years, I have developed Console Apps, Windows Apps (both Windows Forms and WPF), Silverlight, ASP.NET (both Web Forms and MVC), Android Apps and a bunch of other stuff. These days, I'm studying Web API, Mono for Anroid and Web platforms such as AngularJS and KnockoutJS. I have a great passion for research and learning. I also design and publish online multimedia courses on my website at provid.ir.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160530.1 | Last Updated 6 Mar 2012
Article Copyright 2012 by Morteza Giti
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid