Home » .NET 4.0 » Random password generator – vb.net

Random password generator – vb.net


'code template
'Membership.GeneratePassword(lenghtOfPass, numOfNonAlphaNumChar)

'code
Dim nPassword As String = Membership.GeneratePassword(8, 3) 

'Generates random password like this:  &M0Zs[@Y