FileSystemEntryGetSymbolicLink Method (IntPtr, Boolean) |
Gets the symbolic link of a file or directory using its handle.
The handle must have been open using FILE_FLAG_OPEN_REPARSE_POINT flag.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static FileSystemSymbolicLink GetSymbolicLink(
IntPtr handle,
bool throwOnError = true
)
Parameters
- handle
- Type: SystemIntPtr
The file or directory reparse point handle. - throwOnError (Optional)
- Type: SystemBoolean
true to throw errors; otherwise false.
Return Value
Type:
FileSystemSymbolicLink
The symbolic link or null.
See Also