Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

struct System.​Net.​Sockets.​UdpReceiveResult

Assembly: System.Net.Sockets

Implemented Interfaces

Presents UDP receive result information from a call to the <see cref="M:System.Net.Sockets.UdpClient.ReceiveAsync" /> method.

Properties

public byte[]
Buffer
Gets a buffer with the data received in the UDP packet.
public IPEndPoint
RemoteEndPoint
Gets the remote endpoint from which the UDP packet was received.

Methods

public bool
Equals​(UdpReceiveResult other)
Returns a value that indicates whether this instance is equal to a specified object.
Returns <see langword="true" /> if <paramref name="other" /> is an instance of <see cref="T:System.Net.Sockets.UdpReceiveResult" /> and equals the value of the instance; otherwise, <see langword="false" /> .
other The object to compare with this instance.
public bool
Equals​(object obj)
Returns a value that indicates whether this instance is equal to a specified object.
Returns <see langword="true" /> if <paramref name="obj" /> is an instance of <see cref="T:System.Net.Sockets.UdpReceiveResult" /> and equals the value of the instance; otherwise, <see langword="false" /> .
obj The object to compare with this instance.
public int
GetHashCode​()
Returns the hash code for this instance.
Returns The hash code.
public string
ToString​()
Inherited from ValueType
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object