Read and Write Resources via Managed code - Access version, image, string, etc resources in compiled EXE’s, DLL’s, etc.
CodeProject - File Resource Management Library (.NET)
“Introduction
There are several good articles about reading and writing resources from/to a compiled binary. Most focus on retrieving module version information and modifying version information, mostly in C++. Some detail the same operations for cursor or dialog resources. There's, however, no single .NET library to retrieve and save any type of resources, or any library to edit version resources specifically.
This implementation is a framework that enumerates resources and implements both read and write of the file version (
VS_VERSIONINFO
) resources. It can be easily extended to other resource types.Background
Initially, I started porting the version resource implementation from Denis Zabavchik's C++ VerInfoLib. Then, it grew bigger ...
…”
I don’t know if I’ve seen a read/write Managed Resource library like this. I may have seen ones that read, but not writes. Looks like you could use this to Linq to Resources… :)
No comments:
Post a Comment