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:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.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