SocketAddress.Buffer Property

Definition

Gets the underlying memory that can be passed to native OS calls.

C#
public Memory<byte> Buffer { get; }

Property Value

Remarks

The content of the buffer can be invalidated if Size is changed or if the SocketAddress instance is used in another receive call.

Applies to

Product Versions
.NET 8, 9, 10