Scanning files
-
Hi, Can anyone tell me how to implement virus scan in a web application when user loads file on server to share, is there any api that needs to be called, any sort of information may be helpful so please reply promptly to this message. Some People succeed because they are Destined to, but most people succeed because they are Determined to
-
Hi, Can anyone tell me how to implement virus scan in a web application when user loads file on server to share, is there any api that needs to be called, any sort of information may be helpful so please reply promptly to this message. Some People succeed because they are Destined to, but most people succeed because they are Determined to
Most virus scanners have the option to run a scan from the command line. In Norton Antivirus the right command would be :
NAVW32 /noresults c:\testfile.exe
Here you can find out how to start a process: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdiagnosticsprocessclasstopic.asp[^] So in your ASP.NET, save the file on a specific location. Then start the NAVW32 process with the right virus scanner and scan options.