Unit Licen

Designer: Craig Ward, 100554.2072@compuserve.com Date: 3/1/96 Version: 1.0 Function: Stores product licensing information (discretely). The component will only allow users to read property values (at run-time) if the correct tag property is passed. Therefore, if used in a setup routine, the component could be written to the setup disk (via the WriteComponent procedure) in order to store user\license data. This data will be secure, since it can only be read by a user who possesses the value of the tag property before the component was written to disk (ie: the tag property becomes similar to a credit-card's PIN number). Fields: There are several fields: [1] BinFile - stores the file to write information to [2] User - the user who the license belongs to [3] License - the license for the product Using: I envisage the component being used in the following manner: [1] the setup routine and the file (that this component will be written to) will be placed on the same disk. [2] the setup routine will read the component (see example below), and then check to see if the fields are blank. In order to read the component's properties (since they are hidden at run-time) the setup routine will need to pass the tag value that was set at design-time (ie: this is the "password"). [3] if the fields are blank, it then prompts the user to enter their name and license number, which it in turn will write to the file. This information is now securely stored, so any future installations of your program will bring up the original user and license information. The component allows user's to mimic the traditional Windows setup routines where license information is securely stored after the first installation. Calling: The component possesses a method (WriteCompData) that will facilitate the writing of information to disk.

Classes

TLicense -

Functions

Register - register

Types

Constants

Variables


Functions


procedure Register;

register

Types


Constants


Variables