Click or drag to resize

FileSystemEntryGetUsn Method

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

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.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