I am currently working on an application developed in C#. We are looking for ways to secure our app. I know that preventing decompilation is almost impossible but I want to know if there are ways to prevent recompilation.
I mean if someone decompile my app, change source code (for example to skip if statement where license is checked) and then recompile, he's winning. Are there ways to avoid that recompilation?