WebBrowser SetAuthentication Method C# API
Sets the domain, username and password that will be used for HTTP authentication.

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.4.0.26 (1.0.0.0)
Syntax

public void SetAuthentication(
	string domain,
	string username,
	string password
)

Parameters

domain
Type: System String
The domain that will be used for HTTP authentication.
username
Type: System String
The username that will be used for HTTP authentication.
password
Type: System String
The password that will be used for HTTP authentication.
Remarks

If the web server returns an HTTP 401 (Unauthorized) response to a request, then eggPlant Performance will automatically retry the request with an additional "Authorization" HTTP header, using this domain, username and password.
See Also