Is this a good concept for activating a serial key using a web service?

I am writing a Windows desktop application in WPF. I need to add an activation process and wondered if I have the right idea.

This is the process that I was thinking about implementing. Would that be the best solution.

  • When the user downloads the application, he checks the registry key with the activation code in it

Activation required

  • If the registry does not have an activation key, it is provided with an activation page
  • Here they enter the activation key, which they will receive from us.
  • When the user presses the activation button, I get the serial number of my hard drive and hash
  • Then I connected to the web service that I wrote to check if the key exists - Does it have a designated hard drive, is it active
  • If it passes all these criteria, I update my database through a web service with the serial number of the hard drive and mark it as active

Already active (registry key with activation key present)

  • Get the serial number of your hard drive and hash
  • Get the key from the registry
  • Connect to the web service to check if the key exists, is still active and assigned to the correct hash of the hard drive
  • If I allow the user to continue
  • If not, I completely delete the registry key and inform them that they will need to reactivate the software and then download the activation page.

For reasons if this is the right way to do this, I have a few additional problems:

The web service must be provided. The user must have Internet access every time the program starts, so that I can check the web service.

, , . .

+4
2

, , , RSA.

, , , RSA.   , , , : "eveything - , ".

0

, :

  • - SSL.
  • - - / , , , .
  • - ( , , ).
  • . - .
0

All Articles