Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
    
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

3 Answers 3

up vote 4 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.

share|improve this answer

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

Regards

share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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