共用方式為


X509ChainPolicy.TrustMode 屬性

定義

判斷建置憑證鏈結之根信任的模式。

public:
 property System::Security::Cryptography::X509Certificates::X509ChainTrustMode TrustMode { System::Security::Cryptography::X509Certificates::X509ChainTrustMode get(); void set(System::Security::Cryptography::X509Certificates::X509ChainTrustMode value); };
public System.Security.Cryptography.X509Certificates.X509ChainTrustMode TrustMode { get; set; }
member this.TrustMode : System.Security.Cryptography.X509Certificates.X509ChainTrustMode with get, set
Public Property TrustMode As X509ChainTrustMode

屬性值

決定 X509ChainTrustMode 根信任的值。

備註

使用 時 CustomRootTrust ,將會使用 , CustomTrustStore 而不是預設根信任。

適用於