Exemplo n.º 1
0
 private void RemoveDirectory(DirectoryInfo path)
 {
     if (Directory.Exists(path.FullName))
     {
         TemporaryDirectory.DeleteDirectory(path.FullName);
     }
     if (Directory.Exists(path.FullName))
     {
         Trace.WriteLine(string.Format("Unable to remove directory {0}", path.FullName));
     }
 }