locked
Anti-Virus engine API for ASP.NET application written in C# RRS feed

  • Question

  • I have a file upload ASP.NET application written in C# and was hoping there was an antivirus engine API to programmatically scan files for viruses, trojans worms etc.. before I store them in my database as a BLOB.

    Which forefront product sku would be best to provide this functionality inside my application? I do see this type of functionality implemented in the forefront for sharepoint sku and would like to provide this feature inside my asp.net application as well.

    Thanks in advance.
    Saturday, November 15, 2008 7:31 AM

All replies

  • Did you ever find a solution because I am looking for the same solution. I have a C# console application which I would like to integrate with a virus engine to scan files before copying them.
    Monday, February 2, 2009 3:17 AM
  • Please help any one on this, i have same problem,
    how to perform forefront virus scan through command line?

    Tuesday, December 15, 2009 1:03 PM
  • Same question here as well...
    Thursday, December 17, 2009 8:17 AM
  • I suggest you use a command line scanner, AVG for example provide a command line scanner in its program files directory

    All you need to do is create a new process called [scannFilename.exe] and pass it the name of the file to scan as an argument.


    I have done this before but im not going to do your job for you and post the code that too easy ;-)

    Just google

    c# launch new process with arguments and go from there..

    You can even stream the output of the virus scanner to your app to dertermine the result of the scan.. As for APIs I dont know of any for AntiVirus Applications..

    IF you want me to provide you with a .NET .dll to do all i have said then pay me £25 via paypal and you will have it within 7 day (prob less). sales@utxt43.com is my addy
    Saturday, January 9, 2010 6:13 PM
  • I suggest you use a command line scanner, AVG for example provide a command line scanner in its program files directory

    All you need to do is create a new process called [scannFilename.exe] and pass it the name of the file to scan as an argument.


    I have done this before but im not going to do your job for you and post the code that too easy ;-)

    Just google

    c# launch new process with arguments and go from there..

    You can even stream the output of the virus scanner to your app to dertermine the result of the scan.. As for APIs I dont know of any for AntiVirus Applications..

    IF you want me to provide you with a .NET .dll to do all i have said then pay me £25 via paypal and you will have it within 7 day (prob less). sales@utxt43.com is my addy
    Saturday, January 9, 2010 6:15 PM
  • bt where u upload it .........
    i need tht code plllllllllll......
    it's my project sir "antivirus " in .net 2008 with c#

    • Proposed as answer by nightbird_143 Saturday, February 20, 2010 10:08 PM
    Saturday, February 20, 2010 10:07 PM
  • Try downloading INNOBATE AntiVirus Basic. You can download it from http://cid-2da7efbab0968145.skydrive.live.com/self.aspx/.Public/INNOBATE%20AntiVirus%20Basic.msi

    and then you will need the INNOBATE AntiVirus SDK which can be downloaded from http://cid-2da7efbab0968145.skydrive.live.com/self.aspx/.Public/INNOBATE%20AntiVirus%20SDK/INNOBATE%20AntiVirus%20AVClient%20Demo.zip

    The IA SDK contains .NET example.

     


    INNOBATE
    Saturday, April 24, 2010 1:12 AM
  • OPSWAT offers an SDK, Metascan, written in C++ (with COM wrapper) to manage many antivirus packages.

    General Description at http://www.opswat.com/products/metascan

    Licensing options include the basic managability API for AV packages customer has already licensed (Metascan Core).

    List of customer-licensed AV packages Metascan tested against at http://www.opswat.com/products/metascan/supported-applications

    Other Metascan offerings include multiple, licensed embedded AV engines:

    Metascan Lite (CA, ESET, Norman embedded/licensed)

    Metascan Ultra (AVG, CA, ESET, Norman, Quick Heal, Sunbelt, VirusBuster plus free Clam Win plus URL filtering embedded/licensed)

    Metascan Ultra Plus adds custom integration of McAfee and Symantec on top of the Ultra package.

    Details of each offering at http://www.opswat.com/products/metascan/metascan-package-options

    Free evaluation at https://portal.opswat.com/metascan-evaluation

    Monday, July 26, 2010 4:34 PM