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); } }
private void WatcherCreated(object sender, FileSystemEventArgs e) { Archivator.Archive(e.FullPath, targetDirPath); }