EN
Este contenido no se encuentra disponible en su idioma, pero aquí tiene la versión en inglés.

System.Net.NetworkInformation Namespace

July 28, 2014

The System.Net.NetworkInformation namespace provides access to information on network availability and notification of address changes for the local computer.

This namespace is used to enable basic detection of changes in network state, such as address or interface state changes. Applications can keep track of when to get application data and assets from the network or from a local cache and can decide if they should make remote network calls. This helps enable offline Windows Phone applications.

  ClassDescription
Public classNetworkChangeAllows applications to receive notification when the Internet Protocol (IP) address of a network interface, also called a network card or adapter, changes.
Public classNetworkInterfaceProvides availability information for a network interface.

  DelegateDescription
Public delegateNetworkAddressChangedEventHandlerReferences one or more methods to be called when the address of a network interface changes.

Mostrar:
© 2014 Microsoft