[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.
| Property | Access type | Description |
|---|---|---|
| Read-only | The local IP address associated with a DatagramSocket object. | |
| Read-only | The local service name or UDP port number associated with a DatagramSocket. | |
| Read-only | The IP address of the remote network destination associated with a DatagramSocket object. | |
| Read-only | The 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 |
|
|
Metadata |
|
|
DLL |
|
See also
Build date: 5/22/2012
