Click or drag to resize
PathGetFinalPathNameByHandle Method (SafeFileHandle, FinalPathFormats)
[AlphaFS] Retrieves the final path for the specified file, formatted as FinalPathFormats.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static string GetFinalPathNameByHandle(
	SafeFileHandle handle,
	FinalPathFormats finalPath
)

Parameters

handle
Type: Microsoft.Win32.SafeHandlesSafeFileHandle
Then handle to a SafeFileHandle instance.
finalPath
Type: Alphaleonis.Win32.FilesystemFinalPathFormats
The final path, formatted as FinalPathFormats

Return Value

Type: String
Returns 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