Socks5Context Class |
Namespace: EnterpriseDT.Util.Socks
The Socks5Context type exposes the following members.
Name | Description | |
---|---|---|
![]() | Socks5Context |
Default constructor.
|
![]() | Socks5Context(IPAddress) |
Constructs a SOCKS5 context for the proxy with the given address.
|
![]() | Socks5Context(String) |
Constructs a SOCKS5 context for the proxy with the given address.
|
![]() | Socks5Context(IPAddress, Int32) |
Constructs a SOCKS5 context for the proxy with the given address.
|
![]() | Socks5Context(String, Int32) |
Constructs a SOCKS5 context for the proxy with the given address and port.
|
Name | Description | |
---|---|---|
![]() | AuthMethods |
Collection of authentication methods to be used.
|
![]() | ProxyAddress |
Address to be used to connect to the proxy.
(Inherited from SocksContext.) |
![]() | ProxyPort |
Port to be used to connect to the proxy.
(Inherited from SocksContext.) |
![]() | PublicProxyAddress |
Address that the proxy server presents to the "outside" network.
(Inherited from SocksContext.) |
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString |
Returns a string representation of this object.
(Overrides ObjectToString.) |
At a minimum the following properties must be set:
Property | Description |
---|---|
ProxyAddress | Address to be used to connect to the proxy. |
ProxyPort | Defaults to 1080 - Port to be used to connect to the proxy. |
UserName | User-name to be used for validation on the proxy. |
Authentication Methods | At least one authentication method must be provided. |
The SOCKS5 standard specifies three authentications methods. Currently, GSSAPI is not supported. If it is required please request it from EDT support.
Authentication Method | Description |
---|---|
Null | Performs no authentication. |
Username/Password | Uses a plain-text user-name/password combination. |
GSSAPI | (Currently not supported) Uses the Generic Security Services Application Program Interface (GSS-API) to communicate with system-level security services (SSPI on Windows) to authenticate the user. |