SslStream.NegotiatedCipherSuite Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
Gets the cipher suite which was negotiated for this connection.
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
Property Value
One of the enumeration values that identifies the cipher suite which was negotiated for this connection.
- Attributes
Exceptions
The property was accessed before the completion of the authentication process or the authentication process failed.
Remarks
This property gets the cipher suite that is going to be used in the communication between a client and server by the underlying SSL/TLS implementation. It is only available after a successful call to AuthenticateAsServer or AuthenticateAsClient.
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za