FtpClient.MaximumDereferenceCount Property

System.Net.FtpClient

Collapse image Expand Image Copy image CopyHover image
Gets or sets a value that controls the maximum depth of recursion that DereferenceLink() will follow symbolic links before giving up. You can also specify the value to be used as one of the overloaded parameters to the DereferenceLink() method. The default value is 20. Specifying -1 here means inifinitly try to resolve a link. This is not recommended for obvious reasons (stack overflow).

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

Syntax

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

Property Value

Type: Int32

See Also