Constructs a Socks4Context setting the proxy-address, the proxy-port,
the user-name, and the flag controlling the way host-names are resolved..
Namespace: EnterpriseDT.Util.SocksAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
| C# |
|---|
public Socks4Context( IPAddress proxyAddress, int proxyPort, string userName, bool useClientNameResolution ) |
| Visual Basic |
|---|
Public Sub New ( _ proxyAddress As IPAddress, _ proxyPort As Integer, _ userName As String, _ useClientNameResolution As Boolean _ ) |
| Visual C++ |
|---|
public: Socks4Context( IPAddress^ proxyAddress, int proxyPort, String^ userName, bool useClientNameResolution ) |
Parameters
- proxyAddress
- Type: System.Net..::..IPAddress
Address to be used to connect to the proxy.
- proxyPort
- Type: System..::..Int32
Port on the proxy to connect to.
- userName
- Type: System..::..String
User-name to be used for validation on the proxy.
- useClientNameResolution
- Type: System..::..Boolean
Controls use of SOCKS4A feature of requesting that the proxy should resolve host-names.