Method TryResolvePath
TryResolvePath(Guid, out string?)
Attempts to resolve the file system path associated with the specified known folder identifier.
public static bool TryResolvePath(Guid folderId, out string? path)
Parameters
folderIdGuidThe Guid representing the known folder identifier to resolve.
pathstringWhen this method returns, contains the resolved file system path if the operation succeeds; otherwise, null.
Returns
Remarks
This method is only supported on Windows operating systems. If the application is not running on Windows, the method will return false.