//--- Protected Methods --- protected virtual void OnPasswordFound(PasswordFoundEventArgs e) { if (PasswordFound != null) { PasswordFound(this, e); } }
//--- Events Handlers --- void _cracker_PasswordFound(object sender, PasswordFoundEventArgs e) { MessageBox.Show("Password cracked!\n\n" + e.Password); }
//--- Protected Methods --- protected virtual void OnPasswordFound(PasswordFoundEventArgs e) { if (PasswordFound != null) PasswordFound(this, e); }
static void _cracker_PasswordFound(object sender, PasswordFoundEventArgs e) { Console.WriteLine("Password cracked!"); Console.WriteLine("Password: " + e.Password); }