Skip to content

ITlsHandshakeFeature Properties

Provides information about the negotiated TLS handshake.

CipherAlgorithm

abstractget
[System.Obsolete(KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherStrength, HashAlgorithm and HashStrength properties are obsolete. Use NegotiatedCipherSuite instead., DiagnosticId = SYSLIB0058, UrlFormat = https://aka.ms/dotnet-warnings/{0})]
public abstract CipherAlgorithmType CipherAlgorithm
Gets the negotiated bulk encryption algorithm.

CipherStrength

abstractget
[System.Obsolete(KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherStrength, HashAlgorithm and HashStrength properties are obsolete. Use NegotiatedCipherSuite instead., DiagnosticId = SYSLIB0058, UrlFormat = https://aka.ms/dotnet-warnings/{0})]
public abstract int CipherStrength
Gets the strength, in bits, of the negotiated bulk encryption algorithm.

HashAlgorithm

abstractget
[System.Obsolete(KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherStrength, HashAlgorithm and HashStrength properties are obsolete. Use NegotiatedCipherSuite instead., DiagnosticId = SYSLIB0058, UrlFormat = https://aka.ms/dotnet-warnings/{0})]
public abstract HashAlgorithmType HashAlgorithm
Gets the negotiated message authentication algorithm.

HashStrength

abstractget
[System.Obsolete(KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherStrength, HashAlgorithm and HashStrength properties are obsolete. Use NegotiatedCipherSuite instead., DiagnosticId = SYSLIB0058, UrlFormat = https://aka.ms/dotnet-warnings/{0})]
public abstract int HashStrength
Gets the strength, in bits, of the negotiated message authentication algorithm.

HostName

virtualget
View source
public virtual string HostName
Gets the host name from the "server_name" (SNI) extension of the client hello if present.

KeyExchangeAlgorithm

abstractget
[System.Obsolete(KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherStrength, HashAlgorithm and HashStrength properties are obsolete. Use NegotiatedCipherSuite instead., DiagnosticId = SYSLIB0058, UrlFormat = https://aka.ms/dotnet-warnings/{0})]
public abstract ExchangeAlgorithmType KeyExchangeAlgorithm
Gets the negotiated key exchange algorithm.

KeyExchangeStrength

abstractget
[System.Obsolete(KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherStrength, HashAlgorithm and HashStrength properties are obsolete. Use NegotiatedCipherSuite instead., DiagnosticId = SYSLIB0058, UrlFormat = https://aka.ms/dotnet-warnings/{0})]
public abstract int KeyExchangeStrength
Gets the strength, in bits, of the negotiated key exchange algorithm.

Protocol

abstractget
public abstract SslProtocols Protocol
Gets the negotiated TLS protocol version.