Table of Contents
WebView.NeedCredentials Event

Occurs when this WebView needs a user name and password in order to access a page.

Syntax
 public event NeedCredentialsHandler NeedCredentials;
Event Data

The event handler receives an argument of type NeedCredentialsEventArgs containing data related to this event. The following NeedCredentialsEventArgs properties provide information specific to this event.

Name Description
Host Gets the host of the request.
IsProxy Gets a value indicating whether proxy is used for the
Port Gets the port number of the request.
Realm Gets the realm of the authentication.
Retries Gets the total number of failed authentication before for this Url.
Scheme Gets the scheme of the authentication.
Url Gets the Url that triggers the authentication request.
Remarks

If you do not handle this event, the default implementation displays a dialog prompting user to enter a user name and password. If you handle this event, you should call NeedCredentialsEventArgs.Continue to provide the user name and password in your event handler.

See Also