OsCapabilitiesExtensions.IsEmbeddedWebViewAvailable Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns true if MSAL can use an embedded webview (browser).
public static bool IsEmbeddedWebViewAvailable (this Microsoft.Identity.Client.IPublicClientApplication publicClientApplication);
static member IsEmbeddedWebViewAvailable : Microsoft.Identity.Client.IPublicClientApplication -> bool
<Extension()>
Public Function IsEmbeddedWebViewAvailable (publicClientApplication As IPublicClientApplication) As Boolean
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