:::: MENU ::::

Generate Random String on ASP .Net

Is so easy to create a random string on ASP .Net with/without as of ASP .Net 2 with just the following code:

 

int length = 50;
int numberOfNonAlphanumericCharacters = 0

srtring random = Membership.GeneratePassword(length , numberOfNonAlphanumericCharacters);

God Bless!
Thanks,
Thomie


So, what do you think ?

You must be logged in to post a comment.