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.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Property Value
Type: System.TimeSpanA TimeSpan that represents the maximum allowable time difference between the system clocks of the two parties that are communicating. The default is 5 minutes.
| Exception | Condition |
|---|---|
| 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.