Reputation: 211
iam developing WPF product. I want to protect my .net source code from reverse enginering Please advice me
Upvotes: 6
Views: 1289
Reputation: 1
You can use FxProtect obfuscator. It successfully supports WPF and Silverlight obfuscation.
You can try it... .NET Obfuscator
Upvotes: 0
Reputation: 5836
Obfuscating your assemblies will ensure that it is difficult (if not impossible) to reverse-engineer your compiled assemblies. Obfuscators use techniques like symbol renaming, string encryption, control flow obfuscation to try to obfuscate the meaning of the original code. In some cases, it is even possible to totally hide the code from decompilers (however, decompilers are constantly evolving to overcome this).
Take a look at Crypto Obfuscator.
DISCLAIMER: I work for LogicNP, the developer of Crypto Obfuscator.
Upvotes: 1
Reputation: 174329
You would use an obfuscator. There are a lot of them on the market, just google.
For example, Visual Studio used to ship with the Dotfuscator Community Edition. I never used it, so I can't say anything about its quality.
This blog post shows the possible ways to try to prevent reverse engineering: http://blogs.msdn.com/b/ericgu/archive/2004/02/24/79236.aspx
Upvotes: 5
Reputation: 50672
In the end it will always be possible to reverse engineer the code. Obfuscation can help but your code will never completely be protected.
The only way to fully protect the code is by not deploying it but instead keeping it on a server.
Upvotes: 1