Open MaxXor opened 4 years ago
I'd say this is perfect for a separate package (not everyone might need this feature). I added the AsmResolver.PE.Win32Resources
project to the solution.
I'd also say all resource types should be assigned their own namespace in the For example, I placed the version info resource into the AsmResolver.PE.Win32Resources.Version
namespace.
Do you have any suggestions for the public API to make it easier to get to the interpreted version of the resources?
Is it possible make it support update string table(RT_STRING).
Summary: Currently, Win32 resources can only be read from
IReadableSegment
, which can be used to create anIBinaryStreamReader
and read the resource in raw bytes. Updating and interpreting of resources, such as VERSIONINFO resources, is left to the user and cumbersome to parse. Native support for writing/reading such resources with parsed information would make this easier.A look at how it's done in Vestris.ResourceLib for VERSIONINFO resources might be helpful.
Supported resource directories
Rc DataThis data is user defined.ManifestThese are simply string documents, no need for special treatment.