Could anyone suggest me How to accomplish this task ?
The AIR desktop application is already made. The user will have to purchase the CD to install it. He/She should have to input the Code which went along with the CD while installing the product.
He / She should be able to use this CD only for 3 times in the same computer OR use this CD in 3 different computers for 1 time in each.
Simply it should be used only for 3 times.
Could anyone suggest me how to accomplish this task ?
The most easy way is to connect to a server for each installation. With each request to this server, the code (which went along with the CD) has to be send along.
The server, in turn, responds with a) Go ahead, this code has not been used or b) Wait, you can't, it has been used too many times. The installation will either complete or exit, depending on this response.
On the server, you can store the code (and the number of usages) in a simple database.
Thanks for your response. Could you suggest me any samples to learn from it? Any code suggestions?