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
stringThe 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
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
stringThe proxy host.
authentication
Socks5AuthenticationSettingsThe 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
stringThe proxy host.
port
intThe proxy port.
authentication
Socks5AuthenticationSettingsThe proxy authentication settings.