Syntax

C#
public class HttpProxyClient

The type exposes the following members.

Public Constructors

  NameDescription
Public methodHttpProxyClientHttpProxyClientNewOverloaded.

Public Methods

  NameDescription
Public methodCancelAsync
Cancels any asychronous operation that is currently active.
Public methodCreateConnection
Creates a remote TCP connection through a proxy server to the destination host on the destination port.
Public methodCreateConnectionAsync
Asynchronously creates a remote TCP connection through a proxy server to the destination host on the destination port.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
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.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Protected Methods

  NameDescription
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)

Public Properties

  NameDescription
Public propertyIsAsyncCancelled
Gets a value indicating whether an asynchronous operation is cancelled.
Public propertyIsBusy
Gets a value indicating whether an asynchronous operation is running.
Public propertyProxyHost
Gets or sets host name or IP address of the proxy server.
Public propertyProxyName
Gets String representing the name of the proxy.
Public propertyProxyPort
Gets or sets port number for the proxy server.
Public propertyTcpClient
Gets or sets the TcpClient object. This property can be set prior to executing CreateConnection to use an existing TcpClient connection.

Public Events

  NameDescription
Public eventCreateConnectionAsyncCompleted
Event handler for CreateConnectionAsync method completed.

See Also