It would be a good idea to have a website for registering your software.
You can add the software activation as a step of software installation process and ask the user to enter to the web based verification method.
Once the request come to the website, you should collect the MAC address of the computer and store it in a database.