Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. System.IO
  3. MemoryStream
  4. Close()
  • MemoryStream
    • MemoryStream()
    • MemoryStream(Byte[])
    • MemoryStream(Int32)
    • MemoryStream(Byte[], Boolean)
    • MemoryStream(Byte[], Int32, Int32)
    • MemoryStream(Byte[], Int32, Int32, Boolean)
    • MemoryStream(Byte[], Int32, Int32, Boolean, Boolean)
    • CanRead
    • CanSeek
    • CanWrite
    • Capacity
    • Length
    • Position
    • BeginRead(Byte[], Int32, Int32, AsyncCallback, Object)
    • BeginWrite(Byte[], Int32, Int32, AsyncCallback, Object)
    • Close()
    • CopyTo(Stream, Int32)
    • CopyToAsync(Stream, Int32, CancellationToken)
    • Dispose(Boolean)
    • EndRead(IAsyncResult)
    • EndWrite(IAsyncResult)
    • Flush()
    • FlushAsync(CancellationToken)
    • GetBuffer()
    • ObjectInvariant()
    • Read(Byte[], Int32, Int32)
    • Read(Span<Byte>)
    • ReadAsync(Byte[], Int32, Int32, CancellationToken)
    • ReadAsync(Memory<Byte>, CancellationToken)
    • ReadByte()
    • Seek(Int64, SeekOrigin)
    • SetLength(Int64)
    • ToArray()
    • TryGetBuffer(ArraySegment<Byte>)
    • Write(Byte[], Int32, Int32)
    • Write(ReadOnlySpan<Byte>)
    • WriteAsync(Byte[], Int32, Int32, CancellationToken)
    • WriteAsync(ReadOnlyMemory<Byte>, CancellationToken)
    • WriteByte(Byte)
    • WriteTo(Stream)
    • GetWindowsRuntimeBuffer(MemoryStream)
    • GetWindowsRuntimeBuffer(MemoryStream, Int32, Int32)
net11
namespace System.IO
{
    public class MemoryStream : Stream
    {
        public override void Close();
    }
}
.NET Framework
1.01.1
Information specific to net11
Assembly

mscorlib , 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/15/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 🗙