The Proxy type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Proxy()()()() |
Initializes an empty instance of the Proxy class.
| |
Proxy(ProxyType, String, Int32) |
Initializes a new instance of the Proxy class.
| |
Proxy(ProxyType, String, Int32, String) | Obsolete. | |
Proxy(ProxyType, ProxyAuthentication, String, Int32, NetworkCredential) | Obsolete. | |
Proxy(ProxyType, ProxyAuthentication, String, Int32, Boolean, NetworkCredential) | Obsolete. |
Methods
Name | Description | |
---|---|---|
Clone |
Creates a copy of the Proxy instance.
| |
CreateClone |
Creates the true type of the clone.
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetProxy |
Returns the proxied URI for a destination.
| |
GetProxyAddress()()()() |
Gets the proxy address.
| |
GetProxyAddress(String, Int32, String) |
Gets the proxy address.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsBypassed(Uri) |
Indicates whether to use the proxy server for the specified host.
| |
IsBypassed(String, Int32) |
Indicates whether to use the proxy server for the specified host.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString |
Returns a string representation of this proxy.
(Overrides Object..::..ToString()()()().) |
Properties
Name | Description | |
---|---|---|
AuthenticationMethod |
Gets or sets the authentication method to use for HTTP CONNECT proxy.
NTLM authentication is only supported by some HTTP CONNECT proxies.
| |
BypassProxyOnLocal |
Gets or sets a value indicating whether to bypass the proxy server for local addresses.
| |
Credentials |
Gets or sets the credentials to submit to the proxy server for authentication.
Password authentication is not supported by SOCKS4 and SOCKS4a.
| |
Domain |
Gets or sets the domain to submit to the proxy server for authentication.
| |
Encoding |
Gets or sets the Encoding to use to encode and decode requests and responses.
| |
Host |
Gets or sets the hostname of the proxy server.
| |
HttpUserAgent |
Gets or sets user agent to use for HTTP connect proxy.
| |
LocalPortRange |
Gets or sets the local TCP port range to which to bind the connections.
| |
LogWriter |
Gets or sets the log writer used by this object.
| |
Password |
Gets or sets the password to submit to the proxy server for authentication.
Password authentication is not supported by SOCKS4 and SOCKS4a.
| |
Port |
Gets or sets the port of the proxy server.
| |
ProxyType |
Gets or sets the type of the proxy server.
| |
SendRetryTimeout |
Specifies how long (in milliseconds) to continue try sending data before giving up on slow networks.
Setting it to 0 or -1 means that the same value as Timeout property will be used.
| |
UserName |
Gets or sets the username to submit to the proxy server for authentication.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
ISocketFactory..::..CreateSocket |