Skip to content

Random Password Generator in C#

January 12, 2016

I was looking for a very fast and official way in the C# libraries for a random password generator specifying a certain length and I found this: –

System.Web.Security.Membership.GeneratePassword(int length, int numberOfNonAlphanumericCharacters)

Here you can assign a random password a string with specific length and a certain number of non alphanumeric characters in this password.

Hope that helps!!!!!


From → Uncategorized

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: