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 void Close(TimeSpan timeout);
}
}
nuget.org | 0.0 %
Reference this API |
---|---|
Design Reviews |
|
.NET | 7.08.09.0 |
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