System.Net.WebProxy Members

The members of System.Net.WebProxy are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes an empty instance of the System.Net.WebProxy class.

Initializes a new instance of the System.Net.WebProxy class with the specified URI.

Initializes a new instance of the System.Net.WebProxy class from the specified Uri instance.

Initializes a new instance of the System.Net.WebProxy class with the specified URI and bypass setting.

Initializes a new instance of the System.Net.WebProxy class with the specified host and port number.

Initializes a new instance of the System.Net.WebProxy class with the Uri instance and bypass setting.

Initializes a new instance of the System.Net.WebProxy class with the specified URI, bypass setting, and list of URIs to bypass.

Initializes a new instance of the System.Net.WebProxy class with the specified Uri instance, bypass setting, and list of URIs to bypass.

Initializes a new instance of the System.Net.WebProxy class with the specified URI, bypass setting, list of URIs to bypass, and credentials.

Initializes a new instance of the System.Net.WebProxy class with the specified Uri instance, bypass setting, list of URIs to bypass, and credentials.

Protected Constructors

Initializes an instance of the System.Net.WebProxy class using previously serialized content.

Public Properties

AddressUri.

Gets or sets the address of the proxy server.

[read-only]
BypassArrayListArrayList.

Gets a list of addresses that do not use the proxy server.

BypassListstring[].

Gets or sets an array of addresses that do not use the proxy server.

BypassProxyOnLocalbool.

Gets or sets a value that indicates whether to bypass the proxy server for local addresses.

CredentialsICredentials.

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

UseDefaultCredentialsbool.

Gets or sets a bool value that controls whether the CredentialCache.DefaultCredentials are sent with requests.

Public Methods

static
GetDefaultProxy() : WebProxy

Reads the Internet Explorer nondynamic proxy settings.

GetProxy(Uri) : Uri

Returns the proxied URI for a request.

IsBypassed(Uri) : bool

Indicates whether to use the proxy server for the specified host.

Protected Methods

Explicitly Implemented Interface Members

System.Runtime.Serialization.ISerializable.GetObjectData

Creates the serialization data and context that are used by the system to serialize a System.Net.WebProxy object.