Ejemplo n.º 1
0
 private static void OnRenamed(object source, RenamedEventArgs e)
 {
     ConsoleExtensions.Time();
     string.Format("{0} was renamed to {1}", e.OldFullPath, e.FullPath).Info();
     Send(e.FullPath + "," + e.OldFullPath, Protocol.REN_FILE_CMD, Protocol.GetPathType(e.OldFullPath));
 }
Ejemplo n.º 2
0
 private static void OnDeleted(object source, FileSystemEventArgs e)
 {
     ConsoleExtensions.Time();
     string.Format("{0} was deleted", e.FullPath).Info();
     Send(e.FullPath, Protocol.DEL_FILE_CMD, Protocol.GetPathType(e.FullPath));
 }