WCF-Xtensions Class Reference for .NET
MaxClockSkew Property (LocalClientSecurityUpdateElement)






Gets or sets the maximum allowable time difference between the system clocks of the two parties that are communicating.
Syntax
[System.Configuration.ConfigurationProperty(Name="maxClockSkew", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public System.TimeSpan MaxClockSkew {get;}
public read-only property MaxClockSkew: System.TimeSpan; 
System.Configuration.ConfigurationPropertyAttribute(Name="maxClockSkew", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=, 
   IsRequired=, 
   IsKey=)
public function get MaxClockSkew : System.TimeSpan
[System.Configuration.ConfigurationProperty(Name="maxClockSkew", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public: __property System.TimeSpan get_MaxClockSkew();
[System.Configuration.ConfigurationProperty(Name="maxClockSkew", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public:
property System.TimeSpan MaxClockSkew {
   System.TimeSpan get();
}
'Declaration
 
<System.Configuration.ConfigurationPropertyAttribute(Name="maxClockSkew", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=False, 
   IsRequired=False, 
   IsKey=False)>
Public ReadOnly Property MaxClockSkew As System.TimeSpan
 
'Usage
 
Dim instance As LocalClientSecurityUpdateElement
Dim value As System.TimeSpan
 
value = instance.MaxClockSkew

Property Value

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
Remarks

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.

Requirements

Target Platforms: 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

See Also

Reference

LocalClientSecurityUpdateElement Class
LocalClientSecurityUpdateElement Members

Send Feedback