-1

as the title says, I am wondering how you would encrypt the code inside of a project, more specifically a C# .net application, I don't want other people using various things like '.NET reflector' and getting the 'source' from my program, any help? Thanks in advance.

Aephout
  • 1
  • 2

1 Answers1

2

There has to be a way to do so, because the code itself is kind of interpreted when run. Therefore you cant hide it completely, as this would prevent your program from running.
However there is a List of obfuscators which 'scramble' your code to make it hard to understand for humans, you can find it here.
However this will not make your code completely safe and someone who really wants your code could still get it.
If you absolutely need unreadable code you should choose a language wich compiles to machine code, but even there are still ways.

Kimmax
  • 1,658
  • 21
  • 34