C# Extract Resource from Native PE

Viewed 1600

I seem to be failing to find the correct answer to what I am trying to do here.

In my C# code, I would like to extract resources from another executable that would be passed by user prompt. The other executable would be a native PE file.

As an example, I need to pull the KDATA\106 resource from this PE file (sample.exe). This is what it looks like in ResourceHacker.

ResourceHacker display of PE resources

I seem to be only able to find info on how to extract from my program, or parsing from another project.

1 Answers
Related