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)
net7.0
namespace System.Net.Sockets
{
public class NetworkStream : Stream
{
public override Task<int>! ReadAsync(byte[]! buffer, int offset, int count, CancellationToken cancellationToken);
}
}
nuget.org | 0.0 %
Reference this API |
---|---|
.NET | 5.06.07.08.09.010.0 |
.NET Core | 1.01.12.02.12.23.03.1 |
.NET Standard | 1.31.41.51.62.02.1 |
Information specific to net7.0 | |
Assembly | System.Net.Sockets , Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is supported on any platform except for these:
|
- Built-in API
- Package-provided API