PowerTCP SSH and SFTP for .NET
HttpProxyData Constructor(String,Int32,String,String)




Proxy hostname
Proxy port
Username for basic authentication (null if no authentication is needed)
Password for basic authentication (null if no authentication is needed)
Connection data for an HTTP proxy.
Syntax
'Declaration
 
Public Function New( _
   ByVal hostNameOrAddress As String, _
   ByVal port As Integer, _
   ByVal username As String, _
   ByVal password As String _
)
'Usage
 
Dim hostNameOrAddress As String
Dim port As Integer
Dim username As String
Dim password As String
 
Dim instance As New HttpProxyData(hostNameOrAddress, port, username, password)
public HttpProxyData( 
   string hostNameOrAddress,
   int port,
   string username,
   string password
)
public: HttpProxyData( 
   string* hostNameOrAddress,
   int port,
   string* username,
   string* password
)
public:
HttpProxyData( 
   String^ hostNameOrAddress,
   int port,
   String^ username,
   String^ password
)

Parameters

hostNameOrAddress
Proxy hostname
port
Proxy port
username
Username for basic authentication (null if no authentication is needed)
password
Password for basic authentication (null if no authentication is needed)
Remarks

Equivalent to HttpProxyData(proxyHost, proxyPort, proxyUser, proxyPass, null).

See Also

Reference

HttpProxyData Class
HttpProxyData Members
Overload List
HttpProxyData Constructor(String,Int32,String,String,String[])


PowerTCP SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic