Click here to Skip to main content
14,865,438 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Can I encode my c# program code that nobody can access it,s base code by decoding .exe file ?
please help me do this if it is possible
thanks

What I have tried:

I didn,t try anything because I don,t know about it
Posted
Updated 11-Nov-17 19:37pm
Comments
phil.o 11-Nov-17 17:26pm
   
Please search for "obfuscation" on your favorite search engine.
PIEBALDconsult 11-Nov-17 17:35pm
   
Nope.

Quote:
Can I encode my c# program code that nobody can access it,s base code by decoding .exe file ?

Short answer: It is not possible!
Ultimately, your exe will be executed by the processor, and anything executed by processor can be decoded.
decoding an exe is difficult for the amateur, the novice, the young padawan, but not for the professional with right tools.
   
Comments
Karthik_Mahalingam 12-Nov-17 20:40pm
   
5
Patrice T 12-Nov-17 21:19pm
   
Thank you
No, as ppolymorphe has said.
In order to run your app, the system needs to be able to read it - which means that the instructions it is made of must be understandable. And if the system can understand it, so can a programmer, even if it my be difficult.

You can obfuscate[^] your code to make it harder to understand, but you can't fully stop it being understood if someone wants to put enough effort into it.
   

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