Windows apps
Collapse the table of content
Expand the table of content
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.

System.Net.NetworkInformation Namespace

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 Silverlight applications.

  Class Description
Public class NetworkChange Allows applications to receive notification when the Internet Protocol (IP) address of a network interface, also called a network card or adapter, changes.
Public class NetworkInterface Provides availability information for a network interface.

  Delegate Description
Public delegate NetworkAddressChangedEventHandler References one or more methods to be called when the address of a network interface changes.

Community Additions

© 2016 Microsoft