Mono Class Library: System.Net.IWebProxy Overview | Members

System.Net.IWebProxy.Credentials Property

Gets or sets the credentials to submit to the proxy server for authentication. [Edit]

public ICredentials Credentials { set; get; }

Value

A System.Net.ICredentials instance that contains the credentials needed to authenticate a request to the proxy server. [Edit]

Remarks

Operation
The System.Net.ICredentials instance set and returned by the IWebProxy.Credentials property contains the credentials that are sent to the proxy server in response to an HTTP 407 (HttpStatusCode.ProxyAuthenticationRequired ) status code.

Usage
Use this property to set the credentials supplied in response to HTTP 407 status code messages.

[Edit]

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0