FileSystemEntryGetNameInformation Method (String, Boolean) |
Gets the name information for a path.
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(
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:
StringThe name or null if an error occured.
See Also