The length of data available on the stream. Always throws System..NotSupportedException.
[Visual Basic] Overridable Public ReadOnly Property Length As Long [C#] public long Length {override get;} [C++] public: __property virtual __int64 get_Length(); [JScript] public function get Length() : long;
Exception Type | Condition |
---|---|
NotSupportedException | Any access. |
NetworkStream Class | NetworkStream Members | System.Net.Sockets Namespace