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
)
Public Shared Function GetSize (
handle As SafeFileHandle
) As Long
public:
static long long GetSize(
SafeFileHandle^ handle
)
static member GetSize :
handle : SafeFileHandle -> int64
Parameters
- handle
- Type: Microsoft.Win32.SafeHandlesSafeFileHandle
The SafeFileHandle to the file.
Return Value
Type:
Int64The file size, in bytes.
See Also