Friday, July 31, 2009

C# code for scanning an attachment with an antivirus( in a Intranet Mailing system)?

I am working on a intranet mailing system for an organization...can any one plz help me in embedding an antivirus patch file which should be used for scanning the attachment of a mail


thanks %26amp; regards

C# code for scanning an attachment with an antivirus( in a Intranet Mailing system)?
Does not look easy, may be you can contact a C# expert live at website like http://askexpert.info/ .
Reply:There's no easy way to do this with pure C#. If you have an antivirus running on your server, it should intercept a file upon upload and quarantine it. After it does, a check to File.Exists() will tell you if it was uploaded and remains in your upload directory. If not, you can always check for it wherever your anti-virus product stores quarantined files.





Take a look at this thread as well:


http://forums.asp.net/p/890935/956276.as...


No comments:

Post a Comment