DatagramSocketMessageReceivedEventArgs.LocalAddress DatagramSocketMessageReceivedEventArgs.LocalAddress DatagramSocketMessageReceivedEventArgs.LocalAddress DatagramSocketMessageReceivedEventArgs.LocalAddress DatagramSocketMessageReceivedEventArgs.LocalAddress Property

Definition

Gets the local IP address associated with a DatagramSocket when a message was received.

public : HostName LocalAddress { get; }
HostName LocalAddress();
public HostName LocalAddress { get; }
Public ReadOnly Property LocalAddress As HostName
var hostName = datagramSocketMessageReceivedEventArgs.localAddress;

Property Value

The local IP address where the message was received by the DatagramSocket.

Additional features and requirements

Capabilities
ID_CAP_NETWORKING [Windows Phone]

Remarks

The DatagramSocketMessageReceivedEventArgs.LocalAddress property gets the local IP address where a message was received on a DatagramSocket. A message received event can only occur after a successful connect or bind operation on the DatagramSocket.

See also