I have completed making my c# application deployed it using the setup project. When the application is installed it created files and folders in "Program Files"(or any user selected) folder.
The problem is regarding the security of this application. If someone copies the installed folder and then runs the application on his machine it runs fine. The application should only run if it has been installed on the PC using the setup file. But even copying the installed files to a new PC and then running the "exe" causes the application to execute.
I want to prevent this from happening. Any help on this subject will be really appreciated. I know there are many ways to achieve this, please point out a few.