PublicClientApplication.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 web view (web browser).
public bool IsEmbeddedWebViewAvailable ();
member this.IsEmbeddedWebViewAvailable : unit -> bool
Public Function IsEmbeddedWebViewAvailable () As Boolean
Returns
Remarks
All .NET Framework applications will use the legacy web view. .NET 6 and .NET Core applications must use the Microsoft.Identity.Client.Desktop package with WebView2. .NET 6 for Windows comes with WebView2 by default. WebView2 UI is only shown for non-AAD authorities. Refer to our documentation for additional details.