Search code examples
c#cil

Protect .NET DLL from CLI modification


I would like to protect my DLL from being modified with a patcher. I heard that signing the DLL will protect the DLL from modifying the ILCode, but It seems like I can still use a patcher to modify the signed DLLs ilcode.

Any thoughts how can I do It?


Solution

  • How to prevent spoofing of DLLs in .NET

    Also, SmartAssembly is able to provide a feature which is able to bypass modification to your ilcode.

    "Creates a proxy for calls to methods outside of your assembly to make it hard to find external calls."