共用方式為


AntiForgeryConfig.SuppressIdentityHeuristicChecks 屬性

定義

取得或設定值,這個值表示防偽系統是否不應該檢查可能表示誤用系統的條件。

public static bool SuppressIdentityHeuristicChecks { get; set; }
member this.SuppressIdentityHeuristicChecks : bool with get, set
Public Shared Property SuppressIdentityHeuristicChecks As Boolean

屬性值

如果反偽造系統不應該檢查是否有可能的誤用,則為 true;否則為 false。

適用於