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
屬性值
備註
輸出/客戶端連線一律會有對等 (伺服器) 憑證。 對於輸入/伺服器連線,如果連線要求憑證,且對等 (用戶端) 提供憑證,則此屬性只會傳回憑證。