private static string GetDirectoryPath(string Directory, string DirectoryNameResID)
 {
     if (Directory == "")
     {
         throw ExceptionUtils.GetDirectoryNotFoundException("IO_SpecialDirectoryNotExist", new string[] { Utils.GetResourceString(DirectoryNameResID) });
     }
     return(FileSystem.NormalizePath(Directory));
 }