Protect .NET code from reverse engineering?

后端 未结 30 1944
-上瘾入骨i
-上瘾入骨i 2020-11-22 01:17

Obfuscation is one way, but it can\'t protect from breaking the piracy protection security of the application. How do I make sure that the application is not tampered with,

30条回答
  •  自闭症患者
    2020-11-22 01:44

    Apart from purchasing protection, you (or your developers) can learn to copy-protect.

    These are ideas:

    At first, try to write a program that writes itself to console. That's a famous problem. Primary purpose of this task is to practice writing self-referencing code.

    Second, you need to develop a technology that will rewrite some code in a way dependable on other methods' CIL.

    You may write a virtual machine (yet in .NET). And put some code in there. Ultimately, the virtual machine runs another virtual machine which runs the code. That's for a part of rarely-called functions for not to slow the performance too much.

    Rewrite some logic into C++/CLI, and mix managed code with unmanaged. This will harden the disassembling. In this case, do not forget to provide x64 binaries too.

提交回复
热议问题