Click or drag to resize
Galactic API

FileGetSizeInBytes Method

Gets the size of a file 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 file.

Return Value

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