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)
net9.0
namespace System.Net.Sockets
{
public class NetworkStream : Stream
{
public void Close(int timeout);
}
}
nuget.org | 0.1 %
Reference this API |
---|---|
Upgrade Planner | 0.0 %
Reference this API |
.NET | 5.06.07.08.09.0 |
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 2.03.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to net9.0 | |
Assembly | System.Net.Sockets , Version=9.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