Https Proxy Client Class
An HTTPS proxy client.
Definition
Namespace: MailKit.Net.Proxy
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public class HttpsProxyClient : ProxyClient- Inheritance
- Object ProxyClient HttpsProxyClient
Remarks
An HTTPS proxy client.
Constructors
| HttpsProxyClient(String, Int32) | Initializes a new instance of the HttpsProxyClient class. |
| HttpsProxyClient(String, Int32, NetworkCredential) | Initializes a new instance of the HttpsProxyClient class. |
Properties
| CheckCertificateRevocation | Get or set whether connecting via SSL/TLS should check certificate revocation. |
| ClientCertificates | Gets or sets the client SSL certificates. |
| LocalEndPoint |
Get or set the local IP end point to use when connecting to a remote host.
(Inherited from ProxyClient) |
| ProxyCredentials |
Gets the proxy credentials.
(Inherited from ProxyClient) |
| ProxyHost |
Get the proxy host.
(Inherited from ProxyClient) |
| ProxyPort |
Get the proxy port.
(Inherited from ProxyClient) |
| ServerCertificateValidationCallback | Get or sets a callback function to validate the server certificate. |
| SslCipherSuitesPolicy | Gets or sets the cipher suites allowed to be used when negotiating an SSL or TLS connection. |
| SslProtocols | Gets or sets the set of enabled SSL and/or TLS protocol versions that the client is allowed to use. |
Methods
| Connect(String, Int32, CancellationToken) |
Connect to the target host.
(Overrides ProxyClientConnect(String, Int32, CancellationToken)) |
| Connect(String, Int32, Int32, CancellationToken) |
Connect to the target host.
(Inherited from ProxyClient) |
| ConnectAsync(String, Int32, CancellationToken) |
Asynchronously connect to the target host.
(Overrides ProxyClientConnectAsync(String, Int32, CancellationToken)) |
| ConnectAsync(String, Int32, Int32, CancellationToken) |
Asynchronously connect to the target host.
(Inherited from ProxyClient) |
| 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 that represents the current object. (Inherited from Object) |