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 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:
StringThe name or null if an error occured.
See Also