Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats Top APIs
    Version Source
  1. Catalog
  2. System.Net.WebSockets
  3. WebSocketStream
  4. Write(Byte[], Int32, Int32)
  • WebSocketStream
    • CanRead
    • CanSeek
    • CanWrite
    • Length
    • Position
    • WebSocket
    • BeginRead(Byte[], Int32, Int32, AsyncCallback, Object)
    • BeginWrite(Byte[], Int32, Int32, AsyncCallback, Object)
    • Create(WebSocket, WebSocketMessageType, Boolean)
    • Create(WebSocket, WebSocketMessageType, TimeSpan)
    • CreateReadableMessageStream(WebSocket)
    • CreateWritableMessageStream(WebSocket, WebSocketMessageType)
    • Dispose(Boolean)
    • DisposeAsync()
    • EndRead(IAsyncResult)
    • EndWrite(IAsyncResult)
    • Flush()
    • FlushAsync(CancellationToken)
    • Read(Byte[], Int32, Int32)
    • ReadAsync(Byte[], Int32, Int32, CancellationToken)
    • ReadAsync(Memory<Byte>, CancellationToken)
    • Seek(Int64, SeekOrigin)
    • SetLength(Int64)
    • Write(Byte[], Int32, Int32)
    • WriteAsync(Byte[], Int32, Int32, CancellationToken)
    • WriteAsync(ReadOnlyMemory<Byte>, CancellationToken)
net10.0
namespace System.Net.WebSockets
{
    public class WebSocketStream : Stream
    {
        public override void Write(byte[]! buffer, int offset, int count);
    }
}
.NET
10.0
Information specific to net10.0
Assembly

System.Net.WebSockets , Version=10.0.0.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

The API is automatically referenced.

Preview The API is contained in a preview framework.
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

01/11/2026
An error has occurred. This application may no longer respond until reloaded. Reload 🗙