2

I've seen that through reflection you can call and even replace internal and private methods of classes in other assemblies within your own process.

(I love LogMan's answer to this related question: Dynamically replace the contents of a C# method?)

I would like to dynamically replace (wrap) a method of a loaded .NET assembly in another (native) process in the system, specifically ehrecvr.exe.

Is this possible? Alternatively, is it possible to add an extra assembly to load when that binary is run, which would then be in-process for the method replacement?

Community
  • 1
  • 1
Eric Shaw
  • 141
  • 1
  • 5
  • Check if this [answer](http://stackoverflow.com/a/38204281/986184) help. If you need some other info please be more specific (maybe with example) and I'll try to help. – Dudi Keleti Jul 27 '16 at 12:08
  • RhInjectLibrary mentioned in the codeproject link in that question sounds like it might be what I am looking for, thanks. – Eric Shaw Jul 27 '16 at 20:40

0 Answers0