FtpWebRequest.ContentLength Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.