Επεξεργασία

Κοινή χρήση μέσω


LocalClientSecuritySettings.SessionKeyRenewalInterval Property

Definition

Gets or sets the time span after which the initiator renews the key for the security session.

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

Property Value

A TimeSpan that represents the time span after which the initiator renews the key for the security session. The default is 10 hours.

Exceptions

The property is set to a value less than 0.

Examples

This example shows how to get this property.

TimeSpan sessionKeyRenewalInterval = settings.SessionKeyRenewalInterval;
Dim sessionKeyRenewalInterval As TimeSpan = settings.SessionKeyRenewalInterval

Remarks

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