Proxy.Client by Daniel Buckle

<PackageReference Include="Proxy.Client" Version="1.1.6" />


Socks4 connection proxy class. This class implements the Socks4 standard proxy protocol.
public string ProxyUserId { get; }

Proxy user identification information.

public Socks4ProxyClient(string proxyHost, int proxyPort)

Creates a Socks4 proxy client object.

public Socks4ProxyClient(string proxyHost, int proxyPort, string proxyUserId)

Creates a Socks4 proxy client object.

protected byte[] GetDestinationPortBytes()

Gets the Destination Port in bytes.

protected void HandleProxyCommandError(byte[] response)

Handles the command request response error.