FileGetSize Method (KernelTransaction, String) |
[AlphaFS] Retrieves the file size, in bytes to store a specified file.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static long GetSize(
KernelTransaction transaction,
string path
)
Public Shared Function GetSize (
transaction As KernelTransaction,
path As String
) As Long
public:
static long long GetSize(
KernelTransaction^ transaction,
String^ path
)
static member GetSize :
transaction : KernelTransaction *
path : string -> int64
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
The path to the file.
Return Value
Type:
Int64The number of bytes of disk storage used to store the specified file.
See Also