|
|
Home » Visual Basic » Article
Generate License Keys (such as CD keys on Microsoft software)
|
| Article by: | Brian Gillham (8/26/2002) |
|
| Sponsored by: | FindMyHosting - Web Hosting Search |
| Summary: | This class allows you to generate license keys, such as the CD keys on the case of most Microsoft software |
|
| Viewed: 260415 times |
Rating (356 votes): |
|
4.5 out of 5 |
|
|
|
Generate License Keys (such as CD keys on Microsoft software)
Download Now 11Kb
It has come to our attention that many visitors have found this page from a search engine, and
expect to find a whole bunch of pirate licence keys. Let me say from the outset, you won't find them here!
This is a piece of software for VB programmers who want to create a Licence Key for their own programs, before they
allow them out into the world. Sorry guys- no Microsoft hacks here!
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.
|
|
View highlighted Comments
User Comments on 'Generate License Keys (such as CD keys on Microsoft software)'
|
Posted by :
mad_hatter at 09:58 on Saturday, January 31, 2004
|
Sorry if this is not the area to post queries but new to this site! Used the code to successfully generate licence keys but then bought a new computer. Copied all the files across and installed vb.net but now I get an error 'System.Runtime.InteropServices.COMException' occurred in system.windows.forms.dll'
I'm fairly new to .net and would appreciate it if someone can point out what is obviously the numpty's error that I've made!
| |
Posted by :
leonard_van_onselen at 06:11 on Sunday, October 31, 2004
|
I was unable to get the expiry date to work with any date other than the maximum future date possible. Any suggestions?
| |
Posted by :
BillyColl at 03:51 on Friday, May 12, 2006
|
It is not enough to only generate license keys it is necessary to protect them from cracks. In my opinion it's better to use copy protectors. Sometimes they have built-in license generating and managing schemes (example is ExeCryptor from www.strongbit.com )
The main reason is that a license generation/protection has not to be based on a open-source scheme because then it becomes vulnerable.
| |
Posted by :
TR at 20:43 on Saturday, May 13, 2006
|
to BillyColl.
What about using something like openpgp http://www.openpgp.org/ . IT is an open-source encryption scheme.
| |
|
To post comments you need to become a member. If you are already a member, please log in .
| RELATED ARTICLES |
Generate License Keys (such as CD keys on Microsoft software) by Brian Gillham
This class allows you to generate license keys, such as the CD keys on the case of most Microsoft software |
 |
Visual Basic Read and Modify the Registry by Kenneth Ives
Perform the four basic functions to the Windows registry. Add, change, delete, and query. Allows you to to read registry values, and modify both keys and values.
|
 |
Communicating with the Database (Using ADO) by Chaudhary Pradeep K. Roy
Using ADO to get connected with the database. |
 |
Generate an Array of Unique Random Numbers by Brian Gillham
This function will generate an ARRAY of TRULY random numbers. |
 |
Beginning Resource Files in Visual Basic by Kenneth Ives
Have you ever wanted to use graphics, such as icons, bitmaps, cursors, and AVI files? How about sound or even message box text? This can be an enormous amount of overhead. These are all examples of more files to keep track of when you distribute an application, DLL, or OCX. Lets find out how resource files can help.... |
 |
Visual Basic Compact/Repair Access Database Utility by Kenneth Ives
This utility will compact and repair the access database you select. It is actually more convenient to use this utility than do the same task with Access, because you don't have to save the database with a different name and then delete the old database when you are done: here, a temporary copy of the database is automatically created and deleted. |
 |
Creating a watermark in Excel with VBA by Kenneth Ives
Adding a watermark to an Excel spreadsheet using VBA. |
 |
Generate your own Random Numbers by Thaha Hussain
This simple program generates random numbers using the basic mathematical methods. |
 |
Change Cursor to Hour Glass by Brian Gillham
A simple script to change the cursor to an hour glass. |
 |
Analog Clock by Thaha Hussain
This program demonstrates Thaha Hussain's Clock Work Formula to paint an Analogue Clock. |
 |
| |