Class UrlLauncher
- Namespace
- SharpConsoleUI.Helpers
- Assembly
- SharpConsoleUI.dll
Opens URLs in the platform's default browser. Best-effort: pairs with the framework's markup and markdown link support so a clicked link can actually be opened. Never throws.
public static class UrlLauncher
- Inheritance
-
UrlLauncher
- Inherited Members
Methods
Open(string)
Opens url in the platform's default browser. Best-effort — swallows all
exceptions (launching a browser is a convenience; a failure has nothing to recover). A null or
whitespace url is a safe no-op.
public static void Open(string url)
Parameters
urlstringThe URL to open. Null or whitespace is ignored.