Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Proxy Class

Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9147)

Contains proxy settings for a socket connection.

Syntax
public class Proxy : ISocketFactory, IWebProxy
Inheritance
Object
Proxy
FtpProxy
Implements
ISocketFactory
IWebProxy
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)

Constructors

Name Description
Proxy()

Initializes an empty instance of the Proxy class.

Proxy(ProxyType, String, Int32)

Initializes a new instance of the Proxy class.

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.

BypassArrayList

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

BypassList

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

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.

ReceiveBufferSize

Gets or sets local TCP socket receive buffer size.

SendBufferSize

Gets or sets local TCP socket send buffer size.

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.

Methods

Name Description
Clone()

Creates a copy of the Proxy instance.

CreateClone()

Creates the true type of the clone.

GetProxy(Uri)

Returns the proxied URI for a destination.

GetProxyAddress()

Gets the proxy address.

GetProxyAddress(String, Int32, String)

Gets the proxy address.

IsBypassed(String, Int32)

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

IsBypassed(Uri)

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

ToString()

Returns a string representation of this proxy.

Explicit Interface Implementations

Name Description
ISocketFactory.CreateSocket()

Creates an instance of proxy socket.

In This Article
  • Constructors
  • Properties
  • Methods
  • Explicit Interface Implementations
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies