MaxClockSkew Property
Collapse the table of content
Expand the table of content

LocalClientSecuritySettings.MaxClockSkew 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 allowable time difference between the system clocks of the two parties that are communicating.

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

public TimeSpan MaxClockSkew { get; set; }

Property Value

Type: System.TimeSpan
A TimeSpan that represents the maximum allowable time difference between the system clocks of the two parties that are communicating. The default is 5 minutes.

ExceptionCondition
ArgumentOutOfRangeException

The property value is less than 0.

Messages between systems whose clocks' difference exceeds the value specified in this property are rejected.

This property is used in conjunction with the message time stamp verification and the ReplayWindow property.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft