Click here to Skip to main content
15,891,777 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends...i want to create EXE and DLL of my C# .NET project,And the EXE should be non breakable, that is the Exe can not be converted into source code(Not viewable).So it is possible to create a that kind of a secured Exe And DLL please give me solution...
Posted

.net code is intermidate language code, which is by nature "readable" or "decompilable" code. so like any script language you can use an obfuscator, see http://en.wikipedia.org/wiki/List_of_obfuscators_for_.NET[^] to protect you intellectual property. And, or in addition, you can use a kind of wrappers to "load" your .net application like a packer (search for .netshrink wich allows you password protection), tool referred to as packer, like UPX(Ultimate Packer for eXecutables - a popular one) and RPX, MPRESS and .NETZ (seem to be for .net executables). But, you should be aware of, that il-code is still "readable" from memory, once these packers have loaded it into memory! So for code, containing credentials for 3rd party apis like passwords and stuff, sadly .net is no secure solution. For credentials not stored in the executable itself, but entered on e.g. fist start or install, the there are some options to store sensitive data or use the crypto api to encrypt/ decrypt LICENCE KEYS or verify STORED CREDENTIALS (e.g. search for Isolated Storage, ProtectedMemory, Data Protection API). Don't put sensitive data in your code! have fun.
 
Share this answer
 
Comments
Keith Barrow 13-May-14 5:34am    
Got my 5!
See this : CLR and .NET Security - Obfuscation[^]

Find the Best program that suits your need. There are many available out there free of cost.

Regards..
 
Share this answer
 
An article here on CP C# Prevent Reflector from Decompiling[^]

Similar question marked as resolved may have more far-reaching solutions (free) Anti-Decompiler for C# Windows Application[^]
 
Share this answer
 
sir, i a possible was is through Obfuscation but sir, i recommend you to not use Obfuscation because recently i managed to find a software that overcome through Obfuscation very easily.
 
Share this answer
 
You should search for '.net obfuscation' in your favorite web-search engine.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900