Monday, August 25, 2014

file size

You could calculate the size of a directory by iterating through all files inside the directory (DirectoryInfo.GetFiles()) and sum the value of the their Length property as described here (second answer): http://ift.tt/1zrPLDF

No comments:

Post a Comment