R Raghuram Aug 22, 2005 #1 I want to generate some set of chars which are more than 4 chars randomly. . .. how can i do that
G Grant Merwitz Aug 22, 2005 #2 Guid! Guid MyGuid = Guid.NewGuid(); Now MyGuid.ToString() will be a random generated string. You can break this down to be the desired length as well
Guid! Guid MyGuid = Guid.NewGuid(); Now MyGuid.ToString() will be a random generated string. You can break this down to be the desired length as well
K Karl Seguin Aug 22, 2005 #3 If you want something pronouncable, check out this class: http://www.evolution-internet.com/CodeLibrary/PasswordGenerator/Pronounceable.txt Karl -- MY ASP.Net tutorials http://www.openmymind.net/ - New and Improved (yes, the popup is annoying) http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to come!)
If you want something pronouncable, check out this class: http://www.evolution-internet.com/CodeLibrary/PasswordGenerator/Pronounceable.txt Karl -- MY ASP.Net tutorials http://www.openmymind.net/ - New and Improved (yes, the popup is annoying) http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to come!)
G Grant Merwitz Aug 22, 2005 #4 why, can't you pronounce "gqhjlkjfsdppos" Karl Seguin said: If you want something pronouncable, check out this class: http://www.evolution-internet.com/CodeLibrary/PasswordGenerator/Pronounceable.txt Karl -- MY ASP.Net tutorials http://www.openmymind.net/ - New and Improved (yes, the popup is annoying) http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to come!) Click to expand...
why, can't you pronounce "gqhjlkjfsdppos" Karl Seguin said: If you want something pronouncable, check out this class: http://www.evolution-internet.com/CodeLibrary/PasswordGenerator/Pronounceable.txt Karl -- MY ASP.Net tutorials http://www.openmymind.net/ - New and Improved (yes, the popup is annoying) http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to come!) Click to expand...
L Lucas Tam Aug 22, 2005 #5 I want to generate some set of chars which are more than 4 chars randomly. . . how can i do that Click to expand... You use the Random classes in .NET to generate the password length, plus generate the random character: http://www.brettb.com/RandomNumbersInDotNet.asp To select the character, you would use the function: Convert.ToChar(i).ToString() where i is an integer (take a look at an ASCII table for the corresponding character). Here is an example: http://www.codeproject.com/csharp/randpassgen.asp
I want to generate some set of chars which are more than 4 chars randomly. . . how can i do that Click to expand... You use the Random classes in .NET to generate the password length, plus generate the random character: http://www.brettb.com/RandomNumbersInDotNet.asp To select the character, you would use the function: Convert.ToChar(i).ToString() where i is an integer (take a look at an ASCII table for the corresponding character). Here is an example: http://www.codeproject.com/csharp/randpassgen.asp
R Raghuram Aug 22, 2005 #6 thankyou i got my problem solved Lucas Tam said: You use the Random classes in .NET to generate the password length, plus generate the random character: http://www.brettb.com/RandomNumbersInDotNet.asp To select the character, you would use the function: Convert.ToChar(i).ToString() where i is an integer (take a look at an ASCII table for the corresponding character). Here is an example: http://www.codeproject.com/csharp/randpassgen.asp Click to expand...
thankyou i got my problem solved Lucas Tam said: You use the Random classes in .NET to generate the password length, plus generate the random character: http://www.brettb.com/RandomNumbersInDotNet.asp To select the character, you would use the function: Convert.ToChar(i).ToString() where i is an integer (take a look at an ASCII table for the corresponding character). Here is an example: http://www.codeproject.com/csharp/randpassgen.asp Click to expand...