public void AutoDetect()
 {
     for (; ;)
     {
         if (tpm.TrojanStatus() == RunStatus.UnexpectedExit)
         {
             tpm.TrojanRestart();
         }
         Thread.Sleep(5000);
     }
 }
Exemple #2
0
 private void restartToolStripMenuItem_Click(object sender, EventArgs e)
 {
     tpm.TrojanRestart();
 }