System.Net.IWebProxy.Credentials Property

The credentials to submit to the proxy server for authentication.

Syntax

public ICredentials Credentials { get; set; }

Value

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

Remarks

The IWebProxy.Credentials property is an System.Net.ICredentials instance that contains the authorization credentials to send to the proxy server in response to an HTTP 407 (proxy authorization) status code.

Requirements

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