Directory.DirectoryGetSize method
Get Size of directory.
public static ulong DirectoryGetSize(string dir, bool followChildren, FileSizeEnums returnAs)
parameter | description |
---|---|
dir | Path to scan. |
followChildren | Get space of children. |
returnAs | Return as value. |
Return Value
Size of folder.
See Also
- class Directory
- namespace LiTools.Helpers.IO