Click here to Skip to main content
15,889,335 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to code auto generate password programe and send generated password to newly joined user's email id?
Posted

There are plenty of suggestions on the internet for generating passwords. Just use one of the methods for generating random numbers, and use the values to select characters from a set to make an initial password. As for sending this to the user, you can use the SmtpClient[^] class.
 
Share this answer
 
Search for this on Google :
C#
"generating random passwords C#"
and just grab the first 10 results with both hands and all fingers. There are a ton of ways to do that and as for e-mailing, search for "e-mail C#" in exactly the same way on Google and throw yourself on the first 10 results or so.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900