here is my code:
private static void TreeScan(string sDir) { foreach (string d in Directory.GetDirectories(sDir)) { forea
You have to use
Directory.GetFiles(targetDirectory);
like in This sample, wich contains a complete implementation of what you're looking for