Url WithCredentials Method C# API
Initialises a new instance of the Url class using the attributes of this Url, but with the specified user and password (replacing the existing credentials if present).

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

public Url WithCredentials(
	string user,
	string password
)

Parameters

user
Type: System String
A username.
password
Type: System String
A password.

Return Value

A new Url object which is the same as this Url but with the specified user and password.
Remarks

If a username and password are present in a URL, they appear before the host.

e.g. http://username:password@www.myCompany.co.uk

See Also