Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Obfuscating source code when publishing (C#) [closed]

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".

like image 308
user29964 Avatar asked Dec 05 '22 07:12

user29964


2 Answers

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.

like image 99
Cerebrus Avatar answered Dec 07 '22 20:12

Cerebrus


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

like image 34
Joachim Kerschbaumer Avatar answered Dec 07 '22 21:12

Joachim Kerschbaumer