保护 .NET DLL 免受 CLI 修改

Protect .NET DLL from CLI modification

我想保护我的 DLL 不被修补程序修改。听说对DLL进行签名会保护DLL不被修改ILCode,不过好像还是可以用patcher来修改签名的DLL ilcode。

我该怎么做?

How to prevent spoofing of DLLs in .NET

此外,SmartAssembly 还可以提供绕过 ilcode 修改的功能。

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