ReplayWindow Property
Collapse the table of content
Expand the table of content

LocalClientSecuritySettings.ReplayWindow Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the maximum time that a message nonce is valid.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

'Declaration
Public Property ReplayWindow As TimeSpan

Property Value

Type: System.TimeSpan
A TimeSpan that represents the maximum time that a message nonce is valid. The default is five minutes.

ExceptionCondition
ArgumentOutOfRangeException

The property value is less than 0.

A nonce is a "number used once," often a random number used in an authentication protocol to ensure that old communications cannot be used in an attack by using replays.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft