SocketAddress.Buffer Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the underlying memory that can be passed to native OS calls.
public:
property Memory<System::Byte> Buffer { Memory<System::Byte> get(); };
public Memory<byte> Buffer { get; }
member this.Buffer : Memory<byte>
Public ReadOnly Property Buffer As Memory(Of Byte)
The content of the buffer can be invalidated if Size is changed or if the SocketAddress instance is used in another receive call.
Product | Versions |
---|---|
.NET | 8, 9, 10 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: