return null;
}
- public static DirectoryInfo[] DirectoryList ()
+ public static string[] DirectoryList ()
{
- List<DirectoryInfo> dirs = new List<DirectoryInfo> ();
+ List<string> dirs = new List<string> ();
for (int i = 1; i < 4; i++)
if (DBDirs[i].Dirname != null)
- {
- DBDirs[i].Refresh ();
- if (DBDirs[i].DirInfo != null)
- dirs.Add (DBDirs[i].DirInfo);
- }
+ dirs.Add (DBDirs[i].Dirname);
return dirs.ToArray ();
}