SocketAsyncEventArgs.Buffer Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the data buffer to use with an asynchronous socket method.
Assembly: System.Net (in System.Net.dll)
Property Value
Type: System.Byte []A Byte array that represents the data buffer to use with an asynchronous socket method.
This property gets the data buffer currently associated with the SocketAsyncEventArgs instance. To set the buffer, the SetBuffer method must be used.
The Buffer property is used with the Socket.ConnectAsync, Socket.ReceiveAsync, and Socket.SendAsync methods.
Show: