DatagramSocketInformation.RemoteAddress Property
Definition
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.
The IP address of the remote network destination associated with a DatagramSocket object.
public:
property HostName ^ RemoteAddress { HostName ^ get(); };
HostName RemoteAddress();
public HostName RemoteAddress { get; }
var hostName = datagramSocketInformation.remoteAddress;
Public ReadOnly Property RemoteAddress As HostName
Property Value
The IP address of the remote network destination.
Windows requirements
App capabilities |
ID_CAP_NETWORKING [Windows Phone]
|
Remarks
The RemoteAddress property represents the remote IP address for the remote network destination associated with a DatagramSocket object.
An app can set the remote hostname or IP address and remote service name or UDP port number to use by calling the ConnectAsync or GetOutputStreamAsync method on the DatagramSocket. The connect operation will bind the socket to a specific remote IP address and remote UDP port number. The RemoteAddress property is the IP address that remote hostname resolved to.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for