DatagramSocketInformation class

Expand
This topic has not yet been rated - Rate this topic

DatagramSocketInformation class

[This documentation is preliminary and is subject to change.]

Applies to: Metro style apps | desktop apps

Provides socket information on a DatagramSocket object.

Syntax


var datagramSocketInformation = DatagramSocket.Information;

Attributes

DualApiPartitionAttribute()
MarshalingBehaviorAttribute(Agile)
VersionAttribute(NTDDI_WIN8)

Members

The DatagramSocketInformation class has these types of members:

Methods

The DatagramSocketInformation class inherits methods from the Object class (C#/VB/C++).

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.

Requirements

Minimum supported client

Windows 8 Release Preview

Minimum supported server

Windows Server 2012

Namespace

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

Metadata

Windows.winmd

DLL

Windows.Networking.dll

See also

DatagramSocket
DatagramSocket.Information
How to use advanced socket controls
Object

 

 

Build date: 5/22/2012

Did you find this helpful?
(1500 characters remaining)
Community Additions ADD