Table of Contents

Method TryResolvePath

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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

folderId Guid

The Guid representing the known folder identifier to resolve.

path string

When this method returns, contains the resolved file system path if the operation succeeds; otherwise, null.

Returns

bool

true if the path was successfully resolved; otherwise, false.

Remarks

This method is only supported on Windows operating systems. If the application is not running on Windows, the method will return false.