Code:
Option Explicit On
Public Class Form1
Private keys(0 To 5) As String
Public Sub Keylist()
Keys(0) = "lolwut"
Keys(1) = "asdf"
Keys(2) = "as234"
Keys(3) = "flameswor10 source rulz."
Keys(4) = "563y"
Keys(5) = "D2346"
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Generate As Integer
Generate = Int(Rnd() * 6) + 1
TextBox1.Text = keys(Generate)
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Button1.text = "Generate"
Call keylist()
MsgBox("flameswor10 made this Keygen Source")
End Sub
End Class
I saw this thread on how to make keygens so I decided to make this thread.
Just create 1 form project, 1 button and 1 textbox.
The button1 already gets a name so don't worry. Now if you use this, please give credits to me. Thanks
Each time you add a key in Keylist, You must add a number like this
Code:
Private keys(0 To 6) As String
Generate = Int(Rnd() * 7) + 1
So if you have 7 entries, you have 6 as the end digit and so on.
Have Fun
If i get more than 20 thanks in this, I will release a new source that you guys can have. Depends on what you want though. If you want sources that are C+Pable, then press thanks
Credits:
John.. (for source inspiration) << his source inspired mine