X509ChainPolicy.TrustMode 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷建置憑證鏈結之根信任的模式。
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 而不是預設根信任。