private void invokeAntivirus(string executeFileFullName, string args, string docFullName) { Process proc = new Process(); proc.StartInfo.FileName = executeFileFullName; proc.StartInfo.Arguments = string.Format(args, docFullName); proc.Start(); proc.WaitForExit(); } private void button1_Click(object sender, EventArgs e) { string exe = @"D:\Program Files (x86)\360\360sd\360sd.exe"; string args = "{0}"; string docFile = textBox1.Text; invokeAntivirus(exe, args, docFile); }
能成功调用360杀毒查杀,但不知如何获得查杀结果,难道去扫描查杀日志
时间: 2024-10-12 19:58:17