up vote 2 down vote favorite
1
share [g+] share [fb]

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.

link|improve this question

57% accept rate
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. – Diago 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
feedback

5 Answers

up vote 2 down vote accepted
+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.

link|improve this answer
feedback

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.

link|improve this answer
feedback

Yes, you can look for McAfee VirusScan Command Line. Then, you probably get this:

https://kc.mcafee.com/resources/sites/MCAFEE/content/live/PRODUCT_DOCUMENTATION/20000/PD20010/en_US/e5200wpg.pdf

Regards

link|improve this answer
feedback

There is a product called Metascan, which is an API that supports integration of several McAfee antivirus packages. If you plan on integrating with McAfee to perform virus scanning and content checking, maybe you should check it out.

link|improve this answer
feedback

I think you should check out http://www.opswat.com/ there are 2 or 3 products that may be a match. I think that OESIS Framework provides a single interface to many antivirus and McAfee is in that list. Another option is, I think, Metascan at http://www.opswat.com/products/metascan which is more for ISV. I also found that McAfee is certified by OPSWAT.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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