Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1110663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T02:25:46+00:00 2026-05-17T02:25:46+00:00

I Have around say 6 dll’s ( No source code ). They do not

  • 0

I Have around say 6 dll’s ( No source code ).
They do not contain any Logic but just a .resx file that contains a string table.

Is there a way where I can extract the Id’s and values from the string table from each of these dll’s and Export it to a text file?

  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T02:25:46+00:00Added an answer on May 17, 2026 at 2:25 am

    Knowing the assembly name and the resource file, you can load it using reflection.

    // Resources dll
    var assembly = Assembly.LoadFrom("ResourcesLib.DLL");
    
    // Resource file.. namespace.ClassName
    var rm = new ResourceManager("ResourcesLib.Messages", assembly);
    
    // Now you can get the values
    var x = rm.GetString("Hi");
    

    To list all Keys and Values you can use the ResourceSet

    var assembly = Assembly.LoadFrom("ResourcesLib.DLL");
    var rm = new ResourceManager("ResourcesLib.Messages", assembly);
    
    var rs = rm.GetResourceSet(CultureInfo.CurrentCulture, true, true);
    
    foreach (DictionaryEntry r in rs)
    {
        var key = r.Key.ToString();
        var val = r.Value.ToString();
    }
    

    If you don’t have access to the resources lib, you can see what are the namespaces, classes, and everything else through Reflector as mentioned by Leo.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Any regex gurus around here? its driving me crazy. Say I have this string:
I have searched around but not gotten much help. Here's my problem. I want
I have looked around quite abit and there does not seem to be any
Lets say I have around 1,000,000 users. I want to find out what position
Let's say I have a AWS SimpleDB domain with around 3 million items, each
Say I have three tables, a table of users, a table of around 500
I need to find toilets around me, say within 50KM, and I have my
Possible Duplicate: Reading dll.config (not app.config!) from a plugin module. I have two different
I have looked around like crazy but don't get a real answer. I got
We have an application, n-tier like structured, but I wouldn't say it's n-tiered. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.