public WebClient(IAppLogger logger, string url, X509CertificateCollection clientCertificates) : this(logger, url, new FormUrlEncodedContentBuilder()) { var sslOptions = new System.Net.Security.SslClientAuthenticationOptions(); sslOptions.ClientCertificates = clientCertificates; sslOptions.EnabledSslProtocols = System.Security.Authentication.SslProtocols.Tls12; _handler.SslOptions = sslOptions; }
public QuicConnection(System.Net.Quic.Implementations.QuicImplementationProvider implementationProvider, IPEndPoint remoteEndPoint, System.Net.Security.SslClientAuthenticationOptions sslClientAuthenticationOptions, IPEndPoint localEndPoint = null) { }
public System.Threading.Tasks.Task AuthenticateAsClientAsync(System.Net.Security.SslClientAuthenticationOptions sslClientAuthenticationOptions, System.Threading.CancellationToken cancellationToken) { throw null; }
public System.Threading.Tasks.Task AuthenticateAsClientAsync(System.Net.Security.SslClientAuthenticationOptions sslClientAuthenticationOptions, System.Threading.CancellationToken cancellationToken) { throw new PlatformNotSupportedException(); }
public QuicConnection(IPEndPoint remoteEndPoint, System.Net.Security.SslClientAuthenticationOptions sslClientAuthenticationOptions, IPEndPoint localEndPoint = null) { }