Click or drag to resize

IOUtilitiesPathGetSize Method

Gets the size of a file or directory. Always returns null for a directory. If there's no file at the given path, returns null.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static long? PathGetSize(
	string path
)

Parameters

path
Type: SystemString
The path.

Return Value

Type: NullableInt64
The size of a file or null.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is null.
See Also