C#调用360杀毒软件查杀指定路径

时间:2022-01-01 03:11:32

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杀毒查杀,,但不知如何获得查杀结果,难道去扫描查杀日志