LocalServiceSecuritySettingsElement.ReplayWindow LocalServiceSecuritySettingsElement.ReplayWindow LocalServiceSecuritySettingsElement.ReplayWindow LocalServiceSecuritySettingsElement.ReplayWindow Property

Definition

Gets or sets a TimeSpan that specifies the duration in which individual message nonces are valid.

public:
 property TimeSpan ReplayWindow { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("replayWindow", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.TimeSpanOrInfiniteConverter))]
[System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))]
public TimeSpan ReplayWindow { get; set; }
member this.ReplayWindow : TimeSpan with get, set
Public Property ReplayWindow As TimeSpan

Property Value

A TimeSpan that specifies the duration in which individual message nonces are valid.

Remarks

After the time specified by this property, a message sent with the same nonce as the one sent before is not accepted. This property is used in conjunction with the MaxClockSkew property to prevent replay attacks. An attacker can replay a message after its replay window has expired. This message, however, fails the maxClockSkew test that rejects messages with send-time timestamps up to a specified time later or earlier than the time the message was received.

Applies to