Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DatagramSocketInformation class

Provides socket information on a DatagramSocket object.

Syntax


public ref class DatagramSocketInformation sealed 

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Version(0x06020000)]

Members

The DatagramSocketInformation class has these types of members:

Properties

The DatagramSocketInformation class has these properties.

PropertyAccess typeDescription

LocalAddress

Read-onlyThe local IP address associated with a DatagramSocket object.

LocalPort

Read-onlyThe local service name or UDP port number associated with a DatagramSocket.

RemoteAddress

Read-onlyThe IP address of the remote network destination associated with a DatagramSocket object.

RemotePort

Read-onlyThe UDP port number of the remote network destination associated with a DatagramSocket object.

 

Remarks

The DatagramSocketInformation class provides information about a DatagramSocket. This class retrieves information on a DatagramSocket and can be called any time after the DatagramSocket has been created.

A DatagramSocketInformation object is automatically created with the parent DatagramSocket object . The DatagramSocket.Information property provides access to the associated DatagramSocketInformation object.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Networking.Sockets
Windows::Networking::Sockets [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8

Namespace

Windows.Networking.Sockets
Windows::Networking::Sockets [C++]

Metadata

Windows.winmd

See also

Other resources
How to use advanced socket controls (HTML)
How to use advanced socket controls (XAML)
Reference
DatagramSocket
DatagramSocket.Information
DatagramSocketControl
Object
Samples
DatagramSocket sample

 

 

Show:
© 2015 Microsoft