Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. System.Net.Sockets
  3. NetworkStream
  4. Close()
  • 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
namespace System.Net.Sockets
{
    public class NetworkStream : Stream, IDisposable
    {
        public override void Close();
    }
}
.NET Framework
1.01.1
Information specific to net11
Assembly

System , Version=1.0.5000.0, PublicKeyToken=b77a5c561934e089

Referencing

The API is automatically referenced.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API
Search

10/14/2026
This site is managed by Microsoft | © 2026 Microsoft. All rights reserved.
  • Privacy Statement
  • Consumer Health Privacy
  • Terms of Use
  • Contact Us
  • Hosted on Microsoft Azure
  • Manage cookies
  • Your Privacy Choices
Oops, we couldn't process your request. Reload 🗙