共用方式為


X509ServiceCertificateAuthentication 類別

定義

表示用戶端 Proxy 用來驗證服務憑證的設定,而這份憑證是使用 SSL/TLS 交涉所取得。

public ref class X509ServiceCertificateAuthentication sealed
public ref class X509ServiceCertificateAuthentication
public sealed class X509ServiceCertificateAuthentication
public class X509ServiceCertificateAuthentication
type X509ServiceCertificateAuthentication = class
Public NotInheritable Class X509ServiceCertificateAuthentication
Public Class X509ServiceCertificateAuthentication
繼承
X509ServiceCertificateAuthentication

範例

下列範例將示範如何使用這個類別。

ClientCredentials clientCreds =
    new ClientCredentials();
Console.WriteLine(
    clientCreds.ServiceCertificate.Authentication);
Dim clientCreds As New ClientCredentials()
Console.WriteLine(clientCreds.ServiceCertificate.Authentication)

建構函式

X509ServiceCertificateAuthentication()

初始化 X509ServiceCertificateAuthentication 類別的新執行個體。

屬性

CertificateValidationMode

取得或設定憑證驗證模式。

CustomCertificateValidator

取得或設定自訂用戶端憑證驗證程式。

RevocationMode

取得或設定 ChainTrust 和 PeerOrChainTrust X.509 憑證驗證模式的憑證撤銷模式。

TrustedStoreLocation

取得或設定要在其內容中驗證用戶端憑證鏈結的受信任存放區位置。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於