<PackageReference Include="Microsoft.Identity.Client" Version="4.87.0" />

Microsoft.Identity.Client.Platforms.Features.WinFormsLegacyWebUi.WebBrowserBeforeNavigateEventArgs

Event arguments for BeforeNavigate event.
public int Flags { get; }

The following flag, or zero. beforeNavigateExternalFrameTarget (H0001) Internet Explorer 7 or later. This navigation is the result of an external window or tab that targets this browser.

public string Headers { get; }

Additional HTTP headers to send to the server

public byte[] PostData { get; }

The data to send to the server, if the HTTP POST transaction is used.

public string TargetFrameName { get; }

The name of the frame in which to display the resource, or null if no named frame is targeted for the resource.

public string Url { get; }

The URL to be navigated to.

public object WebBrowserActiveXInstance { get; }

A pointer to the IDispatch interface for the WebBrowserControl object that represents the window or frame.

public WebBrowserBeforeNavigateEventArgs(string url, byte[] postData, string headers, int flags, string targetFrameName, object webBrowserActiveXInstance)

Initializes a new instance of WebBrowserBeforeNavigateEventArgs.