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
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk