An NDoc Documented Class Library

Socks4Context Constructor (String, Int32, String, Boolean)

Constructs a Socks4Context setting the proxy-address, the proxy-port, the user-name, and the flag controlling the way host-names are resolved.

public Socks4Context(
   string proxyAddress,
   int proxyPort,
   string userName,
   bool useClientNameResolution
);

Parameters

proxyAddress
Address to be used to connect to the proxy.
proxyPort
Port on the proxy to connect to.
userName
User-name to be used for validation on the proxy.
useClientNameResolution
Controls use of SOCKS4A feature of requesting that the proxy should resolve host-names.

See Also

Socks4Context Class | EnterpriseDT.Util.Socks Namespace | Socks4Context Constructor Overload List