public static void AllDirectories(string directoryPath) { string[] subdirectories = FileHandling.GetAllDirectories(directoryPath); // Deobfuscate subdirectory names - bottom most first for (int i = subdirectories.Length - 1; i >= 0; i--) { RestoreDirectoryName(subdirectories[i]); } RestoreDirectoryName(directoryPath); }
public static string AllDirectories(string directoryPath) { string[] subdirectories = FileHandling.GetAllDirectories(directoryPath); // Obfuscate subdirectory names - bottom most first for (int i = subdirectories.Length - 1; i >= 0; i--) { ObfuscateDirectoryName(subdirectories[i]); } // Obfuscate parent directory name return(ObfuscateDirectoryName(directoryPath)); }