public static class DesktopPlatform Provides read-only platform presentation discovery.
Properties
IsEmbeddedWindowAvailable
public static bool IsEmbeddedWindowAvailable { get; } Gets whether the built-in embedded WebView presentation is available to this process.
IsHighContrast
public static bool IsHighContrast { get; } Gets whether the operating system currently uses a high-contrast theme.
Methods
GetAvailability
public static DesktopAvailabilityResult GetAvailability(string? browserFolder = null) Inspects installed browsers and embedded-WebView prerequisites without opening a window.
GetAvailability
public static DesktopAvailabilityResult GetAvailability(string? browserFolder, LinuxDesktopOptions linux) Inspects presentations for an explicit Linux backend.
GetLinuxEmbeddedBackends
public static IReadOnlyList<LinuxEmbeddedBackendAvailability> GetLinuxEmbeddedBackends() Inspects both Linux runtime candidates without choosing or loading either toolkit.
IsBrowserAvailable
public static bool IsBrowserAvailable(BrowserKind browser, string? browserFolder = null) Gets whether a requested installed or embedded browser is available.
OpenUrl
public static void OpenUrl(string url) Opens a URL through the operating system's default URL handler.