共用方式為


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

屬性值

備註

輸出/客戶端連線一律會有對等 (伺服器) 憑證。 對於輸入/伺服器連線,如果連線要求憑證,且對等 (用戶端) 提供憑證,則此屬性只會傳回憑證。

適用於