I posted this in security because it relates to source code security, if this is wrong, please move my thread

ok so for those of you out there that are developers in dot net you are well aware of the problems your compiled code creates.

the problem being very easy decompilation of the application (from memory) into original compilable source code.

Ok this is a problem for a number of reasons.

My question is this.

is there a way to prevent this.

encryption will not work, that just secures the EXE itsself but as soon as it is loaded into memory it is no longer encrypted. but that works the same for any application.

i have been reading about obfustication, but i am not going to rewrite all my code into some very obscure manner.

i was considering writing something to do this for me, but that is something that i would rather not focus on.

i do understand that all apps are not safe from decompiling. but there is a few methods out there to make that proscess a little harder. and there has to be something out there for dot net apps.

so if anyone knows anything. please respond here or VIA PM

thank you