Beispiel #1
0
        private void WatcherCreated(object sender, FileSystemEventArgs e)
        {
            if (Directory.Exists(options.TargetPath))
            {
                targetDirPath = options.TargetPath;
            }

            if (options.Archive == true)
            {
                Archivator.Archive(e.FullPath, targetDirPath, options.Encrypt);
            }
        }
Beispiel #2
0
 private void WatcherCreated(object sender, FileSystemEventArgs e)
 {
     Archivator.Archive(e.FullPath, targetDirPath);
 }