I'd like to browse a directory and get all files with their sizes , names and urls. I did like this :
int i = 0;
foreach (string sFileName in Directory.GetFiles(Path.Combine(@"C:\Projets", path2)))
{
i++;
}
i count the number of files in a directory but the problem when i have other directories inside it , how can i do to get all files and it caracteristics?