How to generate random password in visual Basic? [closed]
I need to generate a random password in Visual Basic that contains 8 characters including uppercase, lowercase, a special character and very important two consecutive numbers, i can generate the password with Membership.GeneratePassword(Int32, Int32) Method or another methods. But I need at least two consecutive numbers.
Private function GeneratePassword() As String
'Generate a new 8-character password with at least 1 non-alphanumeric character.
Dim password As String =...