Click here to Skip to main content
12,622,652 members (29,612 online)
Click here to Skip to main content
Articles » Languages » C# » Utilities » Downloads

Tagged as

Stats

22.9K 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
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.1
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace MyResourceHacker.Properties
{


    /// <summary>
    ///   A strongly-typed resource class, for looking up localized strings, etc.
    /// </summary>
    // This class was auto-generated by the StronglyTypedResourceBuilder
    // class via a tool like ResGen or Visual Studio.
    // To add or remove a member, edit your .ResX file then rerun ResGen
    // with the /str option, or rebuild your VS project.
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    internal class Resources
    {

        private static global::System.Resources.ResourceManager resourceMan;

        private static global::System.Globalization.CultureInfo resourceCulture;

        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
        internal Resources()
        {
        }

        /// <summary>
        ///   Returns the cached ResourceManager instance used by this class.
        /// </summary>
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        internal static global::System.Resources.ResourceManager ResourceManager
        {
            get
            {
                if ((resourceMan == null))
                {
                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MyResourceHacker.Properties.Resources", typeof(Resources).Assembly);
                    resourceMan = temp;
                }
                return resourceMan;
            }
        }

        /// <summary>
        ///   Overrides the current thread's CurrentUICulture property for all
        ///   resource lookups using this strongly typed resource class.
        /// </summary>
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        internal static global::System.Globalization.CultureInfo Culture
        {
            get
            {
                return resourceCulture;
            }
            set
            {
                resourceCulture = value;
            }
        }
    }
}

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...

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