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.

C#
public TimeSpan SessionKeyRolloverInterval { get; set; }

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.

C#
TimeSpan rolloverInterval =
    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

Produkt Verzie
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1