LocalServiceSecuritySettings.DetectReplays 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个值,该值指示是否在服务上启用重播检测。
public:
property bool DetectReplays { bool get(); void set(bool value); };
public bool DetectReplays { get; set; }
member this.DetectReplays : bool with get, set
Public Property DetectReplays As Boolean
属性值
如果对服务启用重放检测,则为 true
;否则为 false
。 默认值为 true
。
示例
此示例演示如何获取此属性的值。
LocalServiceSecuritySettings settings =
new LocalServiceSecuritySettings();
bool detectReplays = settings.DetectReplays;
Dim settings As New LocalServiceSecuritySettings()
Dim detectReplays = settings.DetectReplays