| 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
)
Public Shared Function GetSizeInBytes (
path As String
) As Long
public:
static long long GetSizeInBytes(
String^ path
)
static member GetSizeInBytes :
path : string -> int64
Parameters
- path
- Type: SystemString
The path to the directory.
Return Value
Type:
Int64The size of the directory's contents in bytes, or a negative file size if there was error retrieving this information.
See Also