LocalClientSecuritySettings.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。
範例
此範例展示了如何啟用從服務接收到的訊息的重播偵測。
// Enable replay detection.
settings.DetectReplays = true;
' Enable replay detection.
settings.DetectReplays = True