string fullpath="Full path";
DirectoryInfo dirInfo = new DirectoryInfo(fullpath);
FileInfo[] fileInfo = dirInfo.GetFiles("*.*", SearchOption.AllDirectories);
DirectoryInfo dirInfo = new DirectoryInfo(fullpath);
FileInfo[] fileInfo = dirInfo.GetFiles("*.*", SearchOption.AllDirectories);
No comments:
Post a Comment