I am building an application which has a dynamic product key. I am trying to integrate these features
If user uninstall this app and again installs it then product key should not be void it should take the same product key for it.
I am going to take the mac address and stores it to a web server I am doing online verification so now the problem is that if the user changes the mac address(the network adapter) so key won't work.
So how can I make this valid? Is there any alternative to the MAC address which almost stays constant?
A little pseudo code that describes how I would verify the product key:
if(mac remains same || any alternative method stays same)
{
priduct_key = valid;
}