Skip to main content

LaunchUriAsync Method

Starts the default app associated with the URI scheme name for the specified URI.

Definition

Namespace: Avalonia.Platform.Storage
Assembly: Avalonia.Base (in Avalonia.Base.dll)

Task<bool> LaunchUriAsync(
Uri uri
)
View Source

Parameters

  Uri
The URI.

Return Value

Task(Boolean)
True, if launch operation was successful. False, if unsupported or failed.

See Also

Reference

ILauncher Interface
Avalonia.Platform.Storage Namespace