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.

4
  • May I know the reason for the down vote? Is it because of the term ASP.Net? 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.
    – phoenix
    Sep 8 '09 at 7:55
  • 1
    This quesiton would still be better answered on SO as it is a coding related question. Sep 14 '09 at 7:43
  • This question has already been answered on SO: stackoverflow.com/questions/975112/net-virus-scanning-api/…
    – heavyd
    Sep 17 '09 at 9:06
  • In my question I have mentioned that I don't need a third party integration tool.
    – phoenix
    Sep 17 '09 at 13:18
4
+75

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.

1

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

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.