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