Skip to content

ITlsHandshakeFeature Properties

Provides access to TLS handshake information.

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

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

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

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

HostName

virtualget
View source
public virtual string HostName
Gets the host name from the TLS server_name (SNI) extension, 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

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

Protocol

abstractget
public abstract SslProtocols Protocol
Gets the negotiated TLS protocol.