R – What ‘s the best way to protect product from cracking by using Public key token in .Net Assembly

assembliesnetstrongname

I know it is impossible to 100% guarantee from cracking your real-world software. But I want only protect my product from unauthorized accessing of normal user.

.Net framework has feature about strongly-typed name that can be used to protect software because you can specific what assembly and public key token will be loaded.

So, what is the best idea for preventing product from cracking by using Public key token?

Best Answer

The purpose of strong-naming is to ensure that when you load an assembly, you are loading the assembly that you think you're loading. So if you load assembly with full name System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL the strong-name works to ensure that you load this assembly and that some evil corporation hasn't slipped another assembly in its place. Strong-naming will not help you prevent unauthorized access to your software.

Related Topic