Beispiel #1
0
 private void linkLabelIncorrectNext_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     if (data.Type == OtpType.Totp || data.Type == OtpType.Steam)
     {
         Troubleshooting troubleshooting = new Troubleshooting(this.host);
         troubleshooting.ShowDialog();
     }
     else if (data.Type == OtpType.Hotp)
     {
         OtpAuthUtils.increaseHotpCounter(host, data, entry);
         this.data = OtpAuthUtils.loadData(this.entry);
     }
 }
Beispiel #2
0
        private void buttonIncorrect_Click(object sender, EventArgs e)
        {
            Troubleshooting troubleshooting = new Troubleshooting(this.host);

            troubleshooting.ShowDialog();
        }