Share via


Length Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Namespace:  System.Net.Sockets
Assembly:  System (in System.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property Length As Long
public override long Length { get; }
public:
virtual property long long Length {
    long long get () override;
}
abstract Length : int64 with get
override Length : int64 with get
override function get Length () : long

Property Value

Type: System. . :: . .Int64
The length of the data available on the stream.

.NET Framework Security

See Also

Reference

NetworkStream Class

System.Net.Sockets Namespace