| 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
)
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 file.
Return Value
Type:
Int64The size of the file in bytes, or a negative file size if there was error retrieving this information.
See Also