What is the fastest way to calculate a Windows folders size?

Posted by LeeW on Stack Overflow See other posts from Stack Overflow or by LeeW
Published on 2010-05-19T21:29:49Z Indexed on 2010/05/19 21:50 UTC
Read the original article Hit count: 187

Filed under:
|
|

I need to calculate the size of hundreds of folders, some will be 10MB some maybe 10GB, I need a super fast way of getting the size of each folder using C#.

My end result will hopefully be:

Folder1 10.5GB

Folder2 230MB

Folder3 1.2GB

...

© Stack Overflow or respective owner

Related posts about c#

Related posts about filesystem