To use TFM_OnAccessScaner
-------------------------

1. need :
 - clamav-devel already installed and configured
 - clamd.conf modifyed to use TCP (HOST:PORT)
 - clamd.exe started

2. use :
 - my program stay in memory.
 - a thread verify if any file was Created/Modifyed/Remaned/etc.
 - if any, compare with a list of extensions to scan.
 - if that file is in list, try to connect to CLAMD at 127.0.0.1:PORT and
send "SCAN FileName" and get result.
 - if ok,ok.
 - if infected, put filename into "Infected Files" tab.

 from there, you could to delete all infected files to RecycleBin, move
all to a Quarantine folder or do nothing.


Daniel

_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-win32

Reply via email to