Edit

Share via


FtpWebRequest.ContentLength Property

Definition

Gets or sets a value that is ignored by the FtpWebRequest class.

public:
 virtual property long ContentLength { long get(); void set(long value); };
public override long ContentLength { get; set; }
member this.ContentLength : int64 with get, set
Public Overrides Property ContentLength As Long

Property Value

An Int64 value that should be ignored.

Remarks

The ContentLength property is provided only for compatibility with other implementations of the WebRequest and WebResponse classes. There is no reason to use ContentLength.

Applies to