Question

We are working on many products that are being published at our customers. But if you publish a C# application, all the dll's can be decompiled using reflector or some sort.

I was wondering if there is an easy way to encrypt our dll's when publishing. This way we can publish our dll's without having to worry about our clients decompiling our code.

ps: if it's possible to integrate this within visual studio that would be awesome.

EDIT: Sorry about the double post, I didn't know it was called "obfuscation".

Was it helpful?

Solution

Dotfuscator Community Edition is installed along with Visual Studio Professional or higher versions. The Community edition, however, is a hobbyist or introductory version that only allows you to obfuscate the code to a degree by simple renaming of all members, is not integrated within VS and does not allow for robust features such as string encryption.

OTHER TIPS

there are lots of obfuscators out there. i e.g. are quite confident with smartassembly

The process of encrypting .NET assemblies is called obfuscation, and tools that do this are naturally enough called obfuscators. There's one that comes with Visual Studio (Dotfuscator Community Edition), but it's said that it's limited.

And don't go with XHEO.

Another is smartassembly.

http://en.wikipedia.org/wiki/Dotfuscator

You already have the community edition in VisualStudio under your tools menu

This for users landing here through search and looking for alternatives.

If you are looking at open source with better support, try: ConfuserEx. It is the successor of Confuser project.

Use ConfuserEx Obfuscator

de4dot can deobfuscate obfuscated dlls, some hackers can decompile your codes and can see it clearly...

it can deobfuscate the app/dlls that was obfuscated by these applications:

  • Agile.NET (aka CliSecure)
  • Babel.NET
  • CodeFort
  • CodeVeil
  • CodeWall
  • CryptoObfuscator
  • DeepSea Obfuscator
  • Dotfuscator
  • .NET Reactor
  • Eazfuscator.NET
  • Goliath.NET
  • ILProtector
  • MaxtoCode
  • MPRESS
  • Rummage
  • Skater.NET
  • SmartAssembly
  • Spices.Net
  • Xenocode

So I reocommend you to use ConfuserEx Obfuscator. It has good features, and is an open-source protector for .NET applications.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top