Mono Class Library: System.Net.HttpWebResponse Overview | MembersSystem.Net.HttpWebResponse.ContentLength Property |
Gets the content length of the response data being received. [Edit]
|
A long containing the number of bytes returned from the Internet resource. This value does not include header information. [Edit]
Type Reason ObjectDisposedException The current instance has been disposed. [Edit]
This property is read-only.
The HttpWebResponse.ContentLength property contains the value of the Content-length header returned with the response. If the Content-length header is not set in the response, HttpWebResponse.ContentLength is set to the value -1.
Note: This property overrides WebResponse.ContentLength .[Edit]
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0