Click or drag to resize

FileSystemEntryGetNameInformation Method (IntPtr, Boolean)

Gets the name information for a file or directory handle. This method uses NtQueryObject with ObjectNameInformation to get that information.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static string GetNameInformation(
	IntPtr handle,
	bool throwOnError = true
)

Parameters

handle
Type: SystemIntPtr
The file or directory handle.
throwOnError (Optional)
Type: SystemBoolean
true to throw errors; otherwise false.

Return Value

Type: String
The name or null if an error occured.
See Also