Constructs a SOCKS5 context for the proxy with the given address and port.
Namespace: EnterpriseDT.Util.SocksAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
| C# |
|---|
public Socks5Context( string proxyAddress, int proxyPort ) |
| Visual Basic |
|---|
Public Sub New ( _ proxyAddress As String, _ proxyPort As Integer _ ) |
| Visual C++ |
|---|
public: Socks5Context( String^ proxyAddress, int proxyPort ) |
Parameters
- proxyAddress
- Type: System..::..String
Address to be used to connect to the proxy.
- proxyPort
- Type: System..::..Int32
Port on the proxy to connect to.
Remarks
Before the context can be used, one or more authentication methods must
be set using the AuthMethods property.