It is theoretically impossible to achieve 100% protection if you do not control the target equipment. If the CPU is able to fulfill it, given sufficient time and knowledge, a person can read it. This is not even limited to C # (although it is usually easier to do this in managed languages). You can use an obfuscator such as Dotfuscator or XenoCode to make understanding decompiled code more difficult. If you are really worried, you should go to the server application.
source
share