Compiling C# to Native?

后端 未结 11 1346
醉酒成梦
醉酒成梦 2020-12-12 10:26

I think I\'m somewhat confused about compiling .NET byte-code to native code, or maybe I\'m confused about the end result. So please bear with me as I try to sort through w

11条回答
  •  攒了一身酷
    2020-12-12 11:11

    I might step back and ask why you are looking for this type of protection. I'm not trying to argue that you don't need the protection, but I think it is worth understanding the motivation.

    For instance, if you want protection because you have an algorithm in your system where it would be devastating to security if someone reverse-engineered it, then you might need to consider a different approach. It means there is a flaw in the algorithm and no amount of obfuscation or native compiling will help you there.

    If is a matter of IP, then I think obfuscation is probably your best approach here. It is kind of like putting a lock on your door. Someone can break the lock and get in, but they are intentionally doing it as opposed to just walking in the door.

提交回复
热议问题