NetworkStream.Length Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

override Length : int64 with get

Property Value

Type: System.Int64

The length of the data available on the stream.

Exception Condition
NotSupportedException

Any use of this property.

.NET Framework
Available since 1.1
Return to top
Show: