Gets or sets keep-alive period (in seconds). If the session has been inactive for the specified period, a a keep-alive packet is send to ensure it stays active.

Namespace:  Rebex.Net.Servers.Core
Assembly:  Rebex.FileServer (in Rebex.FileServer.dll)

Syntax

Visual Basic
Public Property KeepAlivePeriod As Integer
	Get
	Set
C#
public int KeepAlivePeriod { get; set; }

Remarks

Setting the value to 0 or -1 disables keep-alive packets. Minimum allowed period is 30 seconds.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also