예제 #1
0
파일: Logger.cs 프로젝트: shprexen/Labs
        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);
            }
        }
예제 #2
0
파일: Logger.cs 프로젝트: shprexen/Labs
 private void WatcherCreated(object sender, FileSystemEventArgs e)
 {
     Archivator.Archive(e.FullPath, targetDirPath);
 }