Skip to main content

ILauncher Interface

Starts the default app associated with the specified file or URI.

Definition​

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

public interface ILauncher
View Source

Methods​

LaunchFileAsync(IStorageItem)Starts the default app associated with the specified storage file or folder.
LaunchUriAsync(Uri)Starts the default app associated with the URI scheme name for the specified URI.

Extension Methods​

LaunchDirectoryInfoAsync(DirectoryInfo)Starts the default app associated with the specified storage directory (folder).
(Defined by LauncherExtensions)
LaunchFileInfoAsync(FileInfo)Starts the default app associated with the specified storage file.
(Defined by LauncherExtensions)

See Also​

Reference​

Avalonia.Platform.Storage Namespace