Xceed .NET Libraries Documentation
Xceed.SSH.Client Assembly / Xceed.SSH.Client Namespace / HttpProxyClient Class / HttpProxyClient Constructor / HttpProxyClient Constructor(String,Int32,String,String)
The host name of the HTTP proxy server to connect to.
The username to use to log into the HTTP proxy server.
The password to use to log into the HTTP proxy server.


In This Topic
    HttpProxyClient Constructor(String,Int32,String,String)
    In This Topic
    Creates a new HttpProxyClient for connecting to the specified HTTP proxy server host 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 host name of the HTTP proxy server to connect to.
    port
    userName
    The username to use to log into the HTTP proxy server.
    password
    The password to use 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