FtpClient.ConnectTimeout Property

System.Net.FtpClient

Collapse image Expand Image Copy image CopyHover image
Gets or sets the length of time in miliseconds to wait for a connection attempt to succeed before giving up. Default is 15000 (15 seconds).

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

Syntax

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

Property Value

Type: Int32

Implements

IFtpClient..::..ConnectTimeout

See Also