OsCapabilitiesExtensions.IsEmbeddedWebViewAvailable Method

Definition

Returns true if MSAL can use an embedded webview (browser).

C#
public static bool IsEmbeddedWebViewAvailable(this Microsoft.Identity.Client.IPublicClientApplication publicClientApplication);

Parameters

publicClientApplication
IPublicClientApplication

Returns

Remarks

Currently there are no embedded webviews on Mac and Linux. On Windows, app developers or users should install the WebView2 runtime and this property will inform if the runtime is available, see https://aka.ms/msal-net-webview2

Applies to

Prodotto Versioni
Microsoft Authentication Library for .NET (MSAL.NET) latest