FtpClient.SocketPollInterval Property

System.Net.FtpClient

Collapse image Expand Image Copy image CopyHover image
Gets or sets the length of time in miliseconds that must pass since the last socket activity before calling Poll() on the socket to test for connectivity. Setting this interval too low will have a negative impact on perfomance. Setting this interval to 0 disables Poll()'ing all together. The default value is 15 seconds.

Namespace: System.Net.FtpClient
Assembly: System.Net.FtpClient (in System.Net.FtpClient.dll) Version: 1.0.5064.17461

Syntax

C#
public int SocketPollInterval { get; set; }
Visual Basic
Public Property SocketPollInterval As Integer
	Get
	Set
Visual C++
public:
virtual property int SocketPollInterval {
	int get () sealed;
	void set (int value) sealed;
}

Property Value

Type: Int32

Implements

IFtpClient..::..SocketPollInterval

See Also