QuicConnection.RemoteCertificate 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取对等方提供的证书。
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
属性值
注解
出站/客户端连接将始终具有对等方 (服务器) 证书。 对于入站/服务器连接,仅当请求连接且客户端 (对等方) 提供证书时,此属性才会返回证书。