5

Is there any McAfee API [ or command line utility ] that can be integrated with ASP.Net to scan for viruses in uploaded files.

Edit:

I was about to ask the question in stackoverflow but thought since it is related to McAfee only it would be better to put this question in here.

Edit:

I don't need a 3rd party tool to connect to the McAfee API.

Burgi
  • 6,768
phoenix
  • 315

3 Answers3

4

After doing a little digging for you, it doesn't look like the Mcafee API is commonly available.

You need to get in contact directly with them if you want samples, however there are third party tools that can plugin to many other AV scanners such as those available from Opswat which comes with a very good API for many languages.

Edit -

Probably not the best way of going around it, but if you need to use Mcafee (a few other AV's actually provide API's out the box) - You could always just install it on the server and disable all the active scan parts and then just call the scanner exe via command line arguments and wait for a response code - the same way as many download managers, IM clients and others hook into third party anti virus scanners.

William Hilsum
  • 117,648
1

Yes, you can look at McAfee VirusScan Command Line Reference.

VL-80
  • 4,693
Yogurtu
  • 11
0

You could try using the Microsoft Antivirus API. It is a COM API that can be used to scan files. This is the same API that Internet Explorer and Outlook use to scan downloaded files.

heavyd
  • 65,321