Class Socks5ProxySettings
- Namespace
- MongoDB.Driver.Core.Connections
- Assembly
- MongoDB.Driver.dll
Represents the settings for a SOCKS5 proxy connection.
public sealed class Socks5ProxySettings
- Inheritance
-
Socks5ProxySettings
- Inherited Members
Constructors
- Socks5ProxySettings(string)
Initializes a new instance of the Socks5ProxySettings class with the specified host.
- Socks5ProxySettings(string, Socks5AuthenticationSettings)
Initializes a new instance of the Socks5ProxySettings class with the specified host and authentication settings.
- Socks5ProxySettings(string, int)
Initializes a new instance of the Socks5ProxySettings class with the specified host and port.
- Socks5ProxySettings(string, int, Socks5AuthenticationSettings)
Initializes a new instance of the Socks5ProxySettings class with the specified host, port, and authentication settings.
Properties
- Authentication
Gets the authentication settings of the SOCKS5 proxy.
- Host
Gets the host of the SOCKS5 proxy.
- Port
Gets the port of the SOCKS5 proxy.
Methods
- Equals(object)
Determines whether the specified object is equal to the current object.
- GetHashCode()
Serves as the default hash function.
- ToString()
Returns a string that represents the current object.