Table of Contents

Property ConfigureTls

Namespace
ViiSync.AccountApi
Assembly
ViiSync.AccountApi.dll

ConfigureTls

Optional low-level hook for the TLS options of a tls:// connection, applied before each handshake — e.g. RemoteCertificateValidationCallback to pin or accept a private certificate, a client certificate, or the TLS versions. Without it the server's certificate must chain to a trusted root and match the host name (which is also sent as SNI). The tls:// counterpart of ConfigureWebSocket.

public Action<SslClientAuthenticationOptions>? ConfigureTls { get; set; }

Property Value

Action<SslClientAuthenticationOptions>