Home > Back-end >  How to binding machine code and registration code
How to binding machine code and registration code

Time:09-17

How the software interface to get into a machine code, via the machine code to the background, to get a registration code, only when the correct registration code input can be through the registration?
Probably process is like this, can be realized through what method (a little) hope to specific
Please the great god

CodePudding user response:

Well, it seems that you need is a software can only be used in the specified machine installation,
1, offline mode
Mean software is not even the public, before you put the software to the user at this moment, need to send him a registration code, and the registration code must provide binding machine and the other, you will need to find the other machine a unique identifier, such as CPU serial number, after get the unique identifier, oneself use the private key to generate a registration code, software, public key, registration code to send each other, each other installed software, enter the registration code, using public key to decrypt your software registration code, then the CPU serial number comparing with him,
2, the online way
Mean your software runs in can be connected to the public environment, to build their own registration server, only need to give each other to generate a unique registration code, registered on the server, when the other run your software, enter the registration code, server you register your software to connect their own judgment,

2 is the most convenient and effective way, was 1, trouble and has no absolute guarantee effectiveness,
  • Related