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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om