Ejemplo n.º 1
0
 private void PasswordLoadButton_Click(object sender, EventArgs e)
 {
     if (PasswordListOpenFileDialog.ShowDialog() == DialogResult.OK)
     {
         ProgressRichTextBox.AppendText($"Selected password file: {PasswordListOpenFileDialog.FileName}{Environment.NewLine}");
     }
 }
Ejemplo n.º 2
0
 private void AddressLookupLoadButton_Click(object sender, EventArgs e)
 {
     if (AddressOpenFileDialog.ShowDialog() == DialogResult.OK)
     {
         ProgressRichTextBox.AppendText($"Selected lookup address list: {AddressOpenFileDialog.FileName}{Environment.NewLine}");
     }
 }
Ejemplo n.º 3
0
 void stopMiner()
 {
     MiningStartButton.Text = "Start Mining";
     miner?.Stop();
     StringMiner?.StopRandomStringMiner();
     incremental?.StopRandomStringMiner();
     MinerInfoUpdateTimer.Stop();
     MiningProgressBar.Value = 0;
     ProgressLabel.Text      = "";
     stopWatch.Reset();
     //If the job was done by miner thread minerStillRunning bool should be false this will be skipped
     //If the cancellation was requested by user this should be true
     while (MinerInfo.minerStillRunning)
     {
         //Cancellation was already requested in miner thread, waiting a few milliseconds to completing
         Thread.Sleep(10);
     }
     ProgressRichTextBox.AppendText(MinerInfo.minerThreadResults);
     MinerInfo.defaultingValues();
 }