Example #1
0
        //Check if password contains a Digit
        static string TestPasswordContainsNumber(string password = "")
        {
            PasswordValidator pv = new PasswordValidator();

            return(pv.ContainsNumber(password) ? "Password is valid" : "Password is invalid");
        }