Xceed .NET Libraries Documentation
ContentLength Property (HttpReply)


Xceed.Ftp Assembly > Xceed.Ftp Namespace > HttpReply Class : ContentLength Property
Gets the size of the HTTP response's body.
Syntax
'Declaration
 
Public ReadOnly Property ContentLength As Integer
'Usage
 
Dim instance As HttpReply
Dim value As Integer
 
value = instance.ContentLength
public int ContentLength {get;}
Remarks

The actual length may be less than this value if the connection is lost before receiving the entire body.

See the HTTP RFC for details.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

HttpReply Class
HttpReply Members