NetworkStream
NetworkStream(Socket)
NetworkStream(Socket, Boolean)
NetworkStream(Socket, FileAccess)
NetworkStream(Socket, FileAccess, Boolean)
~NetworkStream()
CanRead
CanSeek
CanTimeout
CanWrite
DataAvailable
Length
Position
Readable
ReadTimeout
Socket
Writeable
WriteTimeout
BeginRead(Byte[], Int32, Int32, AsyncCallback, Object)
BeginWrite(Byte[], Int32, Int32, AsyncCallback, Object)
Close()
Close(Int32)
Close(TimeSpan)
Dispose(Boolean)
EndRead(IAsyncResult)
EndWrite(IAsyncResult)
Flush()
FlushAsync(CancellationToken)
Read(Byte[], Int32, Int32)
Read(Span<Byte>)
ReadAsync(Byte[], Int32, Int32, CancellationToken)
ReadAsync(Memory<Byte>, CancellationToken)
ReadByte()
Seek(Int64, SeekOrigin)
SetLength(Int64)
Write(Byte[], Int32, Int32)
Write(ReadOnlySpan<Byte>)
WriteAsync(Byte[], Int32, Int32, CancellationToken)
WriteAsync(ReadOnlyMemory<Byte>, CancellationToken)
WriteByte(Byte)
net11.0-windows7.0
namespace System.Net.Sockets
{
public class NetworkStream : Stream
{
public override int ReadByte();
}
}
| .NET | 5.06.07.08.09.010.011.0 |
|---|---|
| .NET Core | 3.03.1 |
| .NET Standard | 2.1 |
Information specific to net11.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.0 |
Information specific to net11.0-windows7.0 | |
| Assembly | System.Net.Sockets , Version=4.2.1.0, PublicKeyToken=b03f5f7f11d50a3a |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.AspNetCore.App (3.0.0-preview3-19153-02) netcoreapp3.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API