Reputation: 6082
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
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
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
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