Xceed .NET Libraries Documentation
HttpProxyClient Constructor(String,Int32,String,String)


Xceed.Ftp Assembly > Xceed.Ftp Namespace > HttpProxyClient Class > HttpProxyClient Constructor : HttpProxyClient Constructor(String,Int32,String,String)
The hostname of the HTTP proxy server to connect to.
The port on the HTTP proxy server to connect to.
The username used to log into the HTTP proxy server.
The password used to log into the HTTP proxy server.
Creates a new HttpProxyClient for connecting to the specified HTTP proxy server hostname and port number, using the specified userName and password credentials.
Syntax
'Declaration
 
Public Function New( _
   ByVal hostName As String, _
   ByVal port As Integer, _
   ByVal userName As String, _
   ByVal password As String _
)
'Usage
 
Dim hostName As String
Dim port As Integer
Dim userName As String
Dim password As String
 
Dim instance As New HttpProxyClient(hostName, port, userName, password)
public HttpProxyClient( 
   string hostName,
   int port,
   string userName,
   string password
)

Parameters

hostName
The hostname of the HTTP proxy server to connect to.
port
The port on the HTTP proxy server to connect to.
userName
The username used to log into the HTTP proxy server.
password
The password used to log into the HTTP proxy server.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

HttpProxyClient Class
HttpProxyClient Members
Overload List