Redigera

Dela via


SecurityPackageContextConnectionInformation.KeyExchangeAlgorithm Property

Definition

Caution

KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherAlgorithmStrength, HashAlgorithm and HashStrength properties of SslStream are obsolete. Use NegotiatedCipherSuite instead.

The KeyExchangeAlgorithm property contains the key exchange algorithm used by this connection.

public:
 property int KeyExchangeAlgorithm { int get(); };
[System.Obsolete("KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherAlgorithmStrength, HashAlgorithm and HashStrength properties of SslStream are obsolete. Use NegotiatedCipherSuite instead.", DiagnosticId="SYSLIB0058", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public int KeyExchangeAlgorithm { get; }
public int KeyExchangeAlgorithm { get; }
[<System.Obsolete("KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherAlgorithmStrength, HashAlgorithm and HashStrength properties of SslStream are obsolete. Use NegotiatedCipherSuite instead.", DiagnosticId="SYSLIB0058", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.KeyExchangeAlgorithm : int
member this.KeyExchangeAlgorithm : int
Public ReadOnly Property KeyExchangeAlgorithm As Integer

Property Value

The key exchange algorithm used by this connection.

Attributes

Applies to