Generate/Validate License Keys Based on User Name

Category:
Miscellaneous
Type:
Classes
Difficulty:
Intermediate
Author:
Brian Gillham

Version Compatibility: Visual Basic 6

More information:
This class is loosely based on the one by Phil Fresle at http://www.freevbcode.com/ShowCode.ASP?ID=1639. Phil's class allows you to generate license keys, such as the CD keys on the case of most Microsoft software. The major difference in this implementation is that it includes an expiration date. In addition the KEYCODE is generated on the fly using the Soundex of the Username AND the Date.

Note: Upgraded on 01/27/2001 to include an encryption module.


Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download cdkey.zip