I have winform application written in c#. I would like this application to only gets installed in a single machine e.g. M1. If a user tries to install the application in M2, he/she will get an error says "installation aborted due to .... etc".
I will have to check MAC Address and Machine Name, if they match the one hard-coded in the application then carry on. Otherwise, quit installation.
Any idea what steps should i take and where should i put this snippet?