Brecham.Obex — An OBEX library for the .NET Framework

ObexGetStream.Length Property

Overridden. Gets the length of the data available on the stream. This property is not currently supported and always throws a NotSupportedException.

[Visual Basic]
Overrides Public ReadOnly Property Length As Long
[C#]
public override long Length {get;}

Remarks

The length of the object being downloaded is sometimes provided by the server in its response headers, which can be accessed through the ResponseHeaders property. As noted there the header is ObexHeaderId.Length. The contents of this header is not provided through this property as there would be no good way to indicate that no header was included and thus the length is unknown.

See Also

ObexGetStream Class | Brecham.Obex Namespace