AntiForgeryConfig.SuppressIdentityHeuristicChecks 属性

定义

获取或设置一个值,该值可指示防伪系统是否应跳过检查指示系统滥用的条件。

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

属性值

如果防伪系统不应检查可能滥用,则为 true;否则为 false。

适用于