This topic has not yet been rated - Rate this topic

LocalClientSecuritySettingsElement.MaxClockSkew Property

Gets or sets a TimeSpan that specifies the maximum time difference between the system clocks of the two communicating parties.

Namespace:  System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)
[ConfigurationPropertyAttribute("maxClockSkew", DefaultValue = "00:05:00")]
public TimeSpan MaxClockSkew { get; set; }

Property Value

Type: System.TimeSpan
A TimeSpan that specifies the maximum time difference between the system clocks of the two communicating parties. The default value is "00:05:00".

When this property is set to the default, the receiver accepts messages with send-time timestamps up to 5 minutes later or earlier than the time the message was received. Messages that do not pass the send-time test are rejected. This setting is used in conjunction with the ReplayWindow property.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ