QuicConnection.RemoteCertificate 属性

定义

获取对等方提供的证书。

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

属性值

注解

出站/客户端连接将始终具有对等方 (服务器) 证书。 对于入站/服务器连接,仅当请求连接且客户端 (对等方) 提供证书时,此属性才会返回证书。

适用于