Beispiel #1
0
 public void DeleteFile(string path)
 {
     try
     {
         File.Delete(path);
         DBManager.DeleteQuarantine(path);
     }
     catch (Exception e) { }
 }
Beispiel #2
0
 public void MoveBackQuarantine(string path)
 {
     try
     {
         using (var stream = File.Open(path, FileMode.Open))
         {
             stream.Position = 0;
             stream.WriteByte(0x4d);
             stream.Close();
         }
         DBManager.DeleteQuarantine(path);
     }
     catch (Exception e) {}
 }
Beispiel #3
0
 public void DeleteQuarantine(string path)
 {
     DBManager.DeleteQuarantine(path);
 }