Пример #1
0
 private void btnOpenOutputFolder_Click(object sender, EventArgs e)
 {
     if (Directory.Exists(txtOutput.Text))
     {
         GlobalDataAndMethods.RunProcess(txtOutput.Text, "", true);
     }
 }
Пример #2
0
 internal static void Scan(bool WaitForExit = false)
 {
     if (Config.AV_File == "" || !File.Exists(Config.AbsoluteAV_File))
     {
         ShowConfigForm(true);
     }
     else
     {
         GlobalDataAndMethods.RunProcess(Config.AbsoluteAV_File, Config.AV_CommandLine, false, WaitForExit);
     }
 }