Edit

Share via


LocalServiceSecuritySettings.SessionKeyRolloverInterval Property

Definition

Gets or sets the time interval after key renewal for which the previous session key is valid on incoming messages during a key renewal.

public:
 property TimeSpan SessionKeyRolloverInterval { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan SessionKeyRolloverInterval { get; set; }
member this.SessionKeyRolloverInterval : TimeSpan with get, set
Public Property SessionKeyRolloverInterval As TimeSpan

Property Value

The time interval after key renewal for which the previous session key is valid on incoming messages after a key renewal. The default is 5 minutes.

Exceptions

The property is set to a value less than 0.

Examples

This example shows how get the SessionKeyRolloverInterval value.

TimeSpan rolloverInterval =
    settings.SessionKeyRolloverInterval;
Dim rolloverInterval As TimeSpan = settings.SessionKeyRolloverInterval

Remarks

After key renewal, the client and server should always send messages using the most current available key. Both parties can accept incoming messages secured with the previous session key until the rollover time expires.

Session settings such as this one are applicable under any of the following conditions:

Session settings such as this one are not applicable under any of the following conditions:

Applies to