{ foreach (string file in Directory.GetFiles(SharedServerDBBackUpPath)) { if (File.Exists(file)) { FileInfo finfo = new FileInfo(file); folderSize += finfo.Length; } } } catch (NotSupportedException e) { Console.WriteLine("Unable to calculate folder size: {0}", e.Message); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)