Hi, I wanted to know how we can generate random license/product keys in VB.NET.
For example, it can be of the form "ASDF-1234-RFGY-3456" or it can be alphanumeric.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Scott LyslePosted Mar 3, 2007, 6:40 AM
e.g.
Dim
licKey As New System.Guid()licKey = Guid.NewGuid
MessageBox.Show(licKey.ToString())