Quantcast
Channel: Symantec Connect - Endpoint Protection - Discussions
Viewing all articles
Browse latest Browse all 10484

DoScan.exe not writing to log file

$
0
0
I need a solution

I am trying to implement file scanner usinf doscan.exe in C#. below is my sample code

string symantecFilePath = "C:\\Program Files (x86)\\Symantec\\Symantec Endpoint Protection\\12.1.7061.6600.105\\Bin\\Doscan.exe";

string targetPath =  "C:\Temp\UploadDocs\test.docx";

using (Process process = new Process())
            {
                process.StartInfo = new ProcessStartInfo(symantecFilePath, "/ScanFile " + targetPath);
                process.StartInfo.WindowStyle = ProcessWindowStyle.Normal;
                process.StartInfo.WorkingDirectory = Path.GetDirectoryName(symantecFilePath);

                var result = process.Start();
                process.WaitForExit();

}

Code executes with no errors. But I dont see anything in error logs.

Does anybody knows what is happening here.

0

Viewing all articles
Browse latest Browse all 10484

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>