Instructables

How To Make A KeyGen

This Is A Simple How to make a Keygen in VB.NET and NO Im not using real Keys. But What You Would Do Is in the coding you would have to replace the X's with The key itself.
 
Remove these adsRemove these ads by Signing Up

Step 4: Coding The Buttons

For the Generate Buttons (Buttons 1/2) Put this code in:
TextBox1.Text = Int(Rnd() * 4)
Select Case TextBox1.Text
Case 0
TextBox1.Text = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
Case 1
TextBox1.Text = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
Case 2
TextBox1.Text = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
Case 3
TextBox1.Text = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
Case 4
TextBox1.Text = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
Case 5
TextBox1.Text = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
End Select
zack2473 years ago
i would see this as more of a potential use as something for activating a product, sort of like you get a code from the producer, put in this and it gives you the code to get the code for activation, unfortunately as Ether said you would have to do a lot more work to make it a actual "keygen".
error323 years ago
I think you mean that you made a die simulation program that will display some text rather than a number.
Sorry, but this isn't a keygen, it's just displaying some codes you will obtain from other actual keygens released by the crack groups.

To improve it you need to figure out and include the mathemetic formulas used to generate and verify actual unique keys to call it a keygen.

Obviously, that's rather hard to do without reverse engineering the copy protection systems for the specific application.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!