Click here to Skip to main content
Click here to Skip to main content
Articles » Languages » C# » Utilities » Downloads
 
Add your own
alternative version

A Resource Hacker in C# .NET

, 6 Mar 2012
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.zip
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
Settings.settings
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)

About the Author

Morteza Giti
Student
Iran (Islamic Republic Of) Iran (Islamic Republic Of)
I live in Shiraz,Iran-the kingdom of Cyrus, The Great. I'm a university student and I'm studying software engineering at the moment. I began programming when I was around fifteen. 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. These days, I'm learning WPF and Silverlight. I also like MVC.

| Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 6 Mar 2012
Article Copyright 2012 by Morteza Giti
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid