Click or drag to resize
Galactic API

DirectoryGetSizeInBytes Method

Gets the size of a directory's contents in bytes.

Namespace:  Galactic.FileSystem
Assembly:  Galactic.FileSystem (in Galactic.FileSystem.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public static long GetSizeInBytes(
	string path
)

Parameters

path
Type: SystemString
The path to the directory.

Return Value

Type: Int64
The size of the directory's contents in bytes, or a negative file size if there was error retrieving this information.
See Also