C# Obfuscation

Hi all,

How do i protect my code in C#, such that when someone tries to decompile my app or ildasm it, it would not be easy for them to steal the code or impossible to steal/view at the code? Via an obfuscator? Compression? How do i do so? is there any free tools available?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


There are various tools available:

Dotfuscator, which comes in VS.Net from Preemptive solutions.
Demeanor from Wise OWL.
Dan Appleman of Desaware also provides an obfuscator with source code, which you can extend further.
One more is available from remotesoft.

You can just go through google to find more about available options.

hope it helps


I am using the Dotfuscator, which comes with VS.Net (this version is "free"). It works fine, you just need to read its documentation to find out what all the options mean. Also if you want to have a really good obfuscation (e.g. strings obfuscation) you need to buy the full version. Dotfuscator will be integrated in VS 2005 so you can configure your projects to be automatically obfuscated after compilation.

I never worked with any of the other obfuscators mentioned by lavinder, but you can really google and find even comparisons probably.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
eturfclubAuthor Commented:
Thanks lots... What is the website to purchase the full version of the Dotfuscator? Does VS05 comes with the full version of DotFuscator?
Exploring SQL Server 2016: Fundamentals

Learn the fundamentals of Microsoft SQL Server, a relational database management system that stores and retrieves data when requested by other software applications.

Alexandre SimõesManager / Solutions ArchitectCommented:
Take a look at this one:

It's very very good...

Alex :p

I think in VS05 it will again be only a limited version.
Alexandre SimõesManager / Solutions ArchitectCommented:
I'm not trying to sell anything here... don't get me wrong...

Xenocode have this comparison table that's kind of self explanatory... specially on the bottom... where the price shows! :))))

Alex :p
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.