SharePoint Newbie
SharePoint Newbie

Reputation: 6082

Is there any Anti Virus product which provides a .Net (or COM) API?

We need to send uploaded files from our CMS website to any antivirus product as a POC. Are there any AV products out there that provide a .Net/COM API.

Upvotes: 3

Views: 1556

Answers (3)

Jeffrey Hantin
Jeffrey Hantin

Reputation: 36524

Clam AntiVirus has an API available under the GNU GPL which you can probably wrap up with SWIG.

If for any reason you don't want their code in your process, you can also use their (very simple) socket protocol: open a socket and send it SCAN filename, or send it STREAM and it will send back a port number to which you can then send a byte stream to scan.

Upvotes: 2

balexandre
balexandre

Reputation: 75103

Normally you will not have any luck with using an AntiVirus API, cause they are all well protected and the code and methods are locked with the Gods, but there are methods like OPSWAT that you can use an AntiVirus already installed in the system and have kind'a control with that, please read the website for more information.

Upvotes: 0

Jon Tackabury
Jon Tackabury

Reputation: 49289

You can check out Microsoft's Antivirus API. I believe it provides a way for an application to integrate with the installed antivirus software.

Upvotes: 0

Related Questions