Click or drag to resize

FileGetSize Method (SafeFileHandle)

[AlphaFS] Retrieves the file size, in bytes to store a specified file.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static long GetSize(
	SafeFileHandle handle
)

Parameters

handle
Type: Microsoft.Win32.SafeHandlesSafeFileHandle
The SafeFileHandle to the file.

Return Value

Type: Int64
The file size, in bytes.
See Also