X509ChainPolicy.TrustMode 屬性

定義

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

C#
public System.Security.Cryptography.X509Certificates.X509ChainTrustMode TrustMode { get; set; }

屬性值

決定 X509ChainTrustMode 根信任的值。

備註

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

適用於

產品 版本
.NET 5, 6, 7, 8, 9, 10