"Hari" <ha***********@yahoo.com> wrote in message
news:ad********************@adelphia.com...
One algorithm is to chose numbers at random (which is in the libraries), and
convert them to characters by using the ASCII code. Then, store all of the
characters in an array and concatenate them to make a string.
Hari,
Here's a quick and dirty way to do it :)
Sub Main()
For i As Integer = 0 To 1000
Console.WriteLine(RandomPassword(10))
Next
End Sub
Private Function RandomPassword(ByVal Length As String) As String
Return GUID.NewGuid().ToString("N").Substring(0, Length)
End Function
Hope this helps some :)
Mythran