SslStream.NegotiatedCipherSuite Propriété

Définition

Important

Cette API n’est pas conforme CLS.

Obtient la suite de chiffrement qui a été négociée pour cette connexion.

public:
 virtual property System::Net::Security::TlsCipherSuite NegotiatedCipherSuite { System::Net::Security::TlsCipherSuite get(); };
[System.CLSCompliant(false)]
public virtual System.Net.Security.TlsCipherSuite NegotiatedCipherSuite { get; }
[<System.CLSCompliant(false)>]
member this.NegotiatedCipherSuite : System.Net.Security.TlsCipherSuite
Public Overridable ReadOnly Property NegotiatedCipherSuite As TlsCipherSuite

Valeur de propriété

Une des valeurs d’énumération qui identifie la suite de chiffrement qui a été négociée pour cette connexion.

Attributs

Exceptions

L’accès à la propriété a été effectué avant la fin du processus d’authentification ou le processus d’authentification a échoué.

Remarques

Cette propriété obtient la suite de chiffrement qui sera utilisée dans la communication entre un client et un serveur par l’implémentation SSL/TLS sous-jacente. Il n’est disponible qu’après un appel réussi à AuthenticateAsServer ou AuthenticateAsClient.

S’applique à