How To Register The Program

Table of contents:

How To Register The Program
How To Register The Program

Video: How To Register The Program

Video: How To Register The Program
Video: How To Register for Programs 2024, May
Anonim

It is likely that if you write a great program that could be useful to many, you will want to make money from it. To do this, you need to register the program. But you need to make sure that one program works only for one user, and so that he cannot distribute it or the code completely free of charge or for his own benefit, although the work was invested by you.

How to register the program
How to register the program

Instructions

Step 1

In order to avoid this, that is, to protect your software development from various ill-wishers, make an algorithm by which the program will be inaccessible to the user in its full mode until he enters the registration code for which he will pay you.

Step 2

Create a new form in the visual programming environment, in which place two input fields and one button. The first entry field will contain the serial number of the copy of the program, and the second field will contain the registration code (or key). The button will serve to confirm data entry. For convenience, place two input fields one below the other, aligning them to the left of the form and its middle, and center the button to the right.

Step 3

For the button, apply the Caption = “Register” attribute, for the first input field - Caption = “Your serial number” and for the second field - Caption = “Enter the registration code”.

Step 4

Make sure that each computer has its own unique serial number and registration key to it, which will be generated strictly according to a clearly defined formula. To do this, make sure that at the first start of the program, the serial number is randomly generated (RND) and written to a hidden file, or better to the registry.

Step 5

Now make it so that the key to the serial number is calculated by the program according to a strict formula (for example, key = serial number * 5/333 + 4). It is the received value that the user of the program will have to enter to unlock it.

Recommended: