Initializes a new instance of the HttpProxyClient class.

Namespace: Jscape.Util.Proxy
Assembly: Jscape.Email (in Jscape.Email.dll) Version: 2.4.5.0

Syntax

C#
public HttpProxyClient(
	string hostname,
	int port,
	string proxyUser,
	string proxyPassword,
	string proxyHost,
	int proxyPort,
	ProxyTypes type
)
Visual Basic
Public Sub New ( _
	hostname As String, _
	port As Integer, _
	proxyUser As String, _
	proxyPassword As String, _
	proxyHost As String, _
	proxyPort As Integer, _
	type As ProxyTypes _
)
Visual C++
public:
HttpProxyClient(
	String^ hostname, 
	int port, 
	String^ proxyUser, 
	String^ proxyPassword, 
	String^ proxyHost, 
	int proxyPort, 
	ProxyTypes type
)

Parameters

hostname
Type: System..::..String
The remote host to connect to.
port
Type: System..::..Int32
The remote port to connect to.
proxyUser
Type: System..::..String
The username to use when authenticating with the proxy server.
proxyPassword
Type: System..::..String
The password to use when authenticating with the proxy server.
proxyHost
Type: System..::..String
The proxy host to connect to.
proxyPort
Type: System..::..Int32
The proxy port to connect to.
type
Type: Jscape.Util.Proxy..::..ProxyTypes
One of the ProxyTypes values.

See Also