Example #1
0
        static void ClamdTestMain(string[] args)
        {
            ClamdSession session = new ClamdSession("127.0.0.1", 3310);
            ClamdManager manager = new ClamdManager(session);

            Console.WriteLine(manager.GetVersion());

            foreach (string path in args)
            {
                Console.WriteLine(manager.Scan(path));
            }
        }
Example #2
0
 public ClamdManager(ClamdSession session)
 {
     _session = session;
 }