tasinsahin wrote:
I read that assemblies could be modified on runtime.
You can modify the assembly only if its modules are not currently loaded.
None of the loaded Windows executable modules can be modified.
If the assembly is not loaded, it can be modified, but this is usually (or in almost all cases) a big abuse. If an assembly is signed (highly recommended), you cannot practically modify it at all, unless you recompile it.
Overall, your idea looks like one big abuse. Don't do anything like that. Rather, I would advise your to explain your
ultimate goals; in that case we will gladly try to suggest you some realy working solutions.
—SA