Esempio n. 1
0
        private void kbtnGeneratePasword_Click(object sender, EventArgs e)
        {
            if (ktxtOutput.Text == string.Empty)
            {
                ktxtOutput.Text = SecurityMethods.CreatePassword(Convert.ToInt32(knudPasswordLength.Value));
            }
            else
            {
                ktxtOutput.Text = "";

                ktxtOutput.Text = SecurityMethods.CreatePassword(Convert.ToInt32(knudPasswordLength.Value));
            }
        }