Table of Contents

Constructor Socks5ProxySettings

Namespace
MongoDB.Driver.Core.Connections
Assembly
MongoDB.Driver.dll

Socks5ProxySettings(string)

Initializes a new instance of the Socks5ProxySettings class with the specified host.

public Socks5ProxySettings(string host)

Parameters

host string

The SOCKS5 proxy host.

Socks5ProxySettings(string, int)

Initializes a new instance of the Socks5ProxySettings class with the specified host and port.

public Socks5ProxySettings(string host, int port)

Parameters

host string

The proxy host.

port int

The proxy port.

Socks5ProxySettings(string, Socks5AuthenticationSettings)

Initializes a new instance of the Socks5ProxySettings class with the specified host and authentication settings.

public Socks5ProxySettings(string host, Socks5AuthenticationSettings authentication)

Parameters

host string

The proxy host.

authentication Socks5AuthenticationSettings

The proxy authentication settings.

Socks5ProxySettings(string, int, Socks5AuthenticationSettings)

Initializes a new instance of the Socks5ProxySettings class with the specified host, port, and authentication settings.

public Socks5ProxySettings(string host, int port, Socks5AuthenticationSettings authentication)

Parameters

host string

The proxy host.

port int

The proxy port.

authentication Socks5AuthenticationSettings

The proxy authentication settings.