Bewerken

Delen via


QuicConnection.RemoteCertificate Property

Definition

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