Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

QuicConnection.RemoteCertificate Property

Definition

Namespace:
System.Net.Quic
Assembly:
System.Net.Quic.dll
Source:
QuicConnection.cs
Source:
QuicConnection.cs
Source:
QuicConnection.cs
Source:
QuicConnection.cs
Source:
QuicConnection.cs

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.

Gets the certificate provided by the peer.

public:
 property System::Security::Cryptography::X509Certificates::X509Certificate ^ RemoteCertificate { System::Security::Cryptography::X509Certificates::X509Certificate ^ get(); };
public System.Security.Cryptography.X509Certificates.X509Certificate? RemoteCertificate { get; }
member this.RemoteCertificate : System.Security.Cryptography.X509Certificates.X509Certificate
Public ReadOnly Property RemoteCertificate As X509Certificate

Property Value

Remarks

An outbound/client connection will always have the peer's (server) certificate. For an inbound/server connection, this property only returns a certificate if the connection requested one and the peer (client) provided one.

Applies to


Feedback

Was this page helpful?