Click here to Skip to main content
15,890,897 members
Please Sign up or sign in to vote.
2.20/5 (3 votes)
See more:
Hi,

In my .net application I wanted to scan a file and check if it virus free.

To say in detail, I'll have a windows service which is a folder watcher service. Whenever a file enters to a specific folder this service should scan the file to check if it is not affected with any virus. If it is affected with Virus move it to a failure folder and if it free of virus move it to the succeeded folder.

Can this be done ? If so please help me in this.

Thanks in Advance,
Mathi.
Posted
Updated 14-May-14 20:25pm
v3
Comments
DamithSL 15-May-14 2:29am    
do you have virus scan software?
Mathi2code 15-May-14 2:46am    
Actually I dont have any idea how to do this.
If you tell me an approach to use a third part DLL which will do Virus Scanning we can go for it.
If you tell me you want to insall this anti-virus in the system to do such action I can do that.
So have to decide from ideas that I get from you guys.
Bernhard Hiller 15-May-14 2:54am    
Yes, it can be done.
But by asking this question in this way, I am sure: YOU cannot do it (yet - after long learning you might be able to do it).
Mathi2code 15-May-14 2:58am    
Thanks Bernhard.
Is there any article or link which I could follow to learn to do it?
Or do you have any idea?
If so could you please give me an idea. Since I dont have a start point in doing this.

1 solution

Hi,

Its better if you go to C++

but dose not matter there is some API/Engine which you may use. :http://sourceforge.net/projects/zillyaavengines/?source=directory[^]

Another interesting API but Paid : http://www.opswat.com/products/metascan[^]

Microsoft Free API but purpose is different : http://msdn.microsoft.com/en-us/library/ms537365%28v=vs.85%29.aspx[^]


Thanks,
Suvabrata
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900