Beispiel #1
0
        public ActionResult GetRandomPassword()
        {
            string password = new Helpers.PasswordGenerator(10, true, true, true, true).GeneratePassword();

            return(Json(password, JsonRequestBehavior.AllowGet));
        }
Beispiel #2
0
 public PasswordWindow()
 {
     InitializeComponent();
     _passwordGenerator = new Helpers.PasswordGenerator(this);
 }