Click or drag to resize

FileSystemEntryGetUsn Method

Gets the Update Sequence Number (USN) of a file or directory.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static long? GetUsn(
	string fullPath,
	bool throwOnError = true
)

Parameters

fullPath
Type: SystemString
The full path.
throwOnError (Optional)
Type: SystemBoolean
true to throw errors; otherwise false.

Return Value

Type: NullableInt64
The Update Sequence Number (USN) or null if an error occured.
Exceptions
ExceptionCondition
ArgumentNullExceptionfullPath is null.
See Also