0

I am creating mfc antivirus application, but i am struct in between , i have completed till scanning directory but how to detect the antivirus in it,is there anyone to help?

3
Contributors
2
Replies
19
Views
6 Months
Discussion Span
Last Post by rubberman
0

I'm assuming you mean detect the virus, not detect the antivirus :)

Are there any APIs out there you could use that let you pass them a file and they pass back whether or not there's a virus in it? I did a quick google search and I came across a handful of options, but a cursory look didn't produce anything C++ based. However, I'm sure it's just becuase I'm tired and not searching for the right thing.

The point, either way, is that there are SDKs and tools out there for you to use that let you feed in a file, and it spits back whether it's good or not. My guess is that some are free and some cost money.

1

I think ClamAV/ClamWin have such api's. The key thing is that you need a signature for the virus you are scanning for. All A/V tools such as Clam have large databases of virus signatures that they scan for. I suggest Clam because it is fully open source and free.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.