/windows.networking.sockets/datagramsocketinformation.md

https://github.com/MicrosoftDocs/winrt-api · Markdown · 26 lines · 18 code · 8 blank · 0 comment · 0 complexity · 6564abd246552ed124e748ddc6f2dad4 MD5 · raw file

  1. ---
  2. -api-id: T:Windows.Networking.Sockets.DatagramSocketInformation
  3. -api-type: winrt class
  4. ---
  5. <!-- Class syntax.
  6. public class DatagramSocketInformation : Windows.Networking.Sockets.IDatagramSocketInformation
  7. -->
  8. # Windows.Networking.Sockets.DatagramSocketInformation
  9. ## -description
  10. Provides socket information on a [DatagramSocket](datagramsocket.md) object.
  11. ## -remarks
  12. The DatagramSocketInformation class provides information about a [DatagramSocket](datagramsocket.md). This class retrieves information on a [DatagramSocket](datagramsocket.md) and can be called any time after the [DatagramSocket](datagramsocket.md) has been created.
  13. A DatagramSocketInformation object is automatically created with the parent [DatagramSocket](datagramsocket.md) object . The [DatagramSocket.Information](datagramsocket_information.md) property provides access to the associated DatagramSocketInformation object.
  14. ## -examples
  15. ## -see-also
  16. [How to use advanced socket controls](/previous-versions/windows/apps/jj150598(v=win.10)), [DatagramSocket](datagramsocket.md), [DatagramSocket.Information](datagramsocket_information.md), [DatagramSocketControl](datagramsocketcontrol.md), [DatagramSocket sample](https://github.com/microsoftarchive/msdn-code-gallery-microsoft/tree/master/Official%20Windows%20Platform%20Sample/DatagramSocket%20sample)
  17. ## -capabilities
  18. ID_CAP_NETWORKING [Windows Phone]