How to generate a random password in C# or VB.NET

September 30, 2016 TechGuy 0

Original post taken from here. These code samples demonstrate how to generate a strong random password, which does not contain ambiguous characters (such as [1,l,I] or [O,0]). A strong password must be at least eight characters long and contain a combination of lower- and upper-case letters, numbers, and special characters. […]