Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DesktopExtensions.WithWindowsEmbeddedBrowserSupport Method

Definition

Namespace:
Microsoft.Identity.Client.Desktop
Assembly:
Microsoft.Identity.Client.Desktop.dll
Package:
Microsoft.Identity.Client.Desktop v4.83.3

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.

Adds better embedded browser support to MSAL. AAD applications will use the older WebBrowser control. Other applications (B2C, ADFS etc.) will use an embedded browser based on Microsoft Edge - https://aka.ms/msal-net-webview2

public static Microsoft.Identity.Client.PublicClientApplicationBuilder WithWindowsEmbeddedBrowserSupport(this Microsoft.Identity.Client.PublicClientApplicationBuilder builder);
static member WithWindowsEmbeddedBrowserSupport : Microsoft.Identity.Client.PublicClientApplicationBuilder -> Microsoft.Identity.Client.PublicClientApplicationBuilder
<Extension()>
Public Function WithWindowsEmbeddedBrowserSupport (builder As PublicClientApplicationBuilder) As PublicClientApplicationBuilder

Parameters

Returns

Remarks

This is not required for MAUI / WinUI applications. This is ignored on Mac and Linux.

Applies to


Feedback

Was this page helpful?