Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract data from Resource #51

Closed
XenocodeRCE opened this issue Oct 27, 2015 · 3 comments
Closed

Extract data from Resource #51

XenocodeRCE opened this issue Oct 27, 2015 · 3 comments

Comments

@XenocodeRCE
Copy link

How do I extract this string value If I know the Resource name AND the data name ?

This is how I'm trying to do it :

foreach (Resource res in module.Resources)
{
if (res.Name.Contains(resourcename))
{
//Get_stuck
}
}

I don't want to use Invoke this its a waste of time / ram.

Thanks :)

@0xd4d
Copy link
Collaborator

0xd4d commented Oct 27, 2015

de4dot and dnSpy both use the same code to read .NET resources. See eg. https://github.com/0xd4d/dnSpy/blob/master/dnSpy/TreeNodes/ResourceNodes/ResourceElementSetTreeNode.cs#L59

@0xd4d
Copy link
Collaborator

0xd4d commented Oct 27, 2015

BTW, what OS are you using? That scrollbar looks real thin. :)

@XenocodeRCE
Copy link
Author

Windows 8.1 here ! :)

Thanks for your answer, mark it as solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant