Click here to Skip to main content
15,922,894 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello

how lock my program than no one can, decompile exe file and access source data

my project is in c#, sqlserver
Posted

 
Share this answer
 
Comments
Wendelius 21-Dec-11 15:42pm    
5+, we provided the same link :)
RaviRanjanKr 21-Dec-11 16:04pm    
Thanks :)
Basically you cannot do this in a bulletproof way. Everything that a computer can run can eventually be decompiled. One old, but quite good blog: http://blogs.msdn.com/b/ericgu/archive/2004/02/24/79236.aspx[^]

However even though an unmanaged DLL is offered as a 'safe' way in the blog, it can be decompiled. For example Visual Studio debugger can easily show the code of an unmanaged DLL in assembler
 
Share this answer
 
What you are thinking of is obfuscation. How to obfuscate C#[^]
Please note that obfuscation just makes decompiled source rather difficult to figure out, but it's never impossible for someone to do it. Think of it as a very secure password versus a plain text simple dictionary password. One is much easier to figure out than the other, but given enough time and motivation both can be discovered.
 
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