PathGetFinalPathNameByHandle Method (SafeFileHandle) |
[AlphaFS] Retrieves the final path for the specified file, formatted as
FinalPathFormats.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static string GetFinalPathNameByHandle(
SafeFileHandle handle
)
Public Shared Function GetFinalPathNameByHandle (
handle As SafeFileHandle
) As String
public:
static String^ GetFinalPathNameByHandle(
SafeFileHandle^ handle
)
static member GetFinalPathNameByHandle :
handle : SafeFileHandle -> string
Parameters
- handle
- Type: Microsoft.Win32.SafeHandlesSafeFileHandle
Then handle to a SafeFileHandle instance.
Return Value
Type:
StringReturns the final path as a string.
Remarks
A final path is the path that is returned when a path is fully resolved. For example, for a symbolic link named "C:\tmp\mydir" that
points to "D:\yourdir", the final path would be "D:\yourdir".
See Also