Class Socks5ProxyClientOptions
- Namespace
- VpnHood.Net.Proxies.Socks5ProxyClients
- Assembly
- VpnHood.Net.Proxies.dll
Provides the settings of a Socks5ProxyClient.
public class Socks5ProxyClientOptions
- Inheritance
-
Socks5ProxyClientOptions
- Inherited Members
Properties
Password
Gets or sets the password sent with Username. null is sent as an empty password. Its UTF-8 form must not exceed 255 bytes.
public string? Password { get; set; }
Property Value
ProxyEndPoint
Gets the address and port of the SOCKS5 proxy.
public required IPEndPoint ProxyEndPoint { get; init; }
Property Value
Username
Gets or sets the user name for username and password authentication (RFC 1929), or null or empty to offer no credentials.
public string? Username { get; set; }
Property Value
Remarks
With a user name, the client offers the proxy both no authentication and username and password authentication, and the proxy chooses. Its UTF-8 form must not exceed 255 bytes.