public ActionResult GetRandomPassword() { string password = new Helpers.PasswordGenerator(10, true, true, true, true).GeneratePassword(); return(Json(password, JsonRequestBehavior.AllowGet)); }
public PasswordWindow() { InitializeComponent(); _passwordGenerator = new Helpers.PasswordGenerator(this); }