PDA

View Full Version : sdk or api


vship
December 14th, 2008, 05:44 PM
Hi:

I searched the forums for the string "api sdk" and got nothing....

We are looking to virus scan various uploaded files before proceeding with their processing (the files may come in through various interfaces). Is there an SDK or API to the ESET AV engine. Something along the lines of:

bool isCleanFile(string fileLocation, string reference errorMsg);
// true returned on clean file, false with a reason in errorMsg on not clean

A .NET interface would be nice, but we can deal with a plain c++ interface. Can the method be called concurrently?

If there are no such options, what are the return codes that come back from a command line execution of the nod32 av executable? Perhaps we can wrap the command line call and check for return status. If there is any example code (c#,java,c++) lying around that would be appreciated.

Thanks,

vship

Rmuffler
December 15th, 2008, 08:11 PM
Hello vship,

I have read your post and provided answers below.

{QUOTE-> Hi:

I searched the forums for the string "api sdk" and got nothing....

We are looking to virus scan various uploaded files before proceeding with their processing (the files may come in through various interfaces). Is there an SDK or API to the ESET AV engine. Something along the lines of:

bool isCleanFile(string fileLocation, string reference errorMsg);
// true returned on clean file, false with a reason in errorMsg on not clean

A .NET interface would be nice, but we can deal with a plain c++ interface. Can the method be called concurrently? <-QUOTE}

No

{QUOTE-> If there are no such options, what are the return codes that come back from a command line execution of the nod32 av executable? Perhaps we can wrap the command line call and check for return status. If there is any example code (c#,java,c++) lying around that would be appreciated. <-QUOTE}

Please refer to the following Knowledgebase article: http://www.eset.com/support/kb.php?option=com_kb&Itemid=29&page=articles&articleid=565

Thank you,
Richard

vship
December 16th, 2008, 04:40 PM
Richard:

Thanks for your reply. I think I have something to start with.

Vincent