Expand Minimize

System.Net.NetworkInformation Namespace

The System.Net.NetworkInformation namespace provides access to network traffic data, network address information, and notification of address changes for the local computer. The namespace also contains classes that implement the Ping utility. You can use Ping and related classes to check whether a computer is reachable across the network.

  Class Description
Public class GatewayIPAddressInformation Represents the IP address of the network gateway. This class cannot be instantiated.
Public class GatewayIPAddressInformationCollection Stores a set of GatewayIPAddressInformation types.
Public class IcmpV4Statistics Provides Internet Control Message Protocol for IPv4 (ICMPv4) statistical data for the local computer.
Public class IcmpV6Statistics Provides Internet Control Message Protocol for Internet Protocol version 6 (ICMPv6) statistical data for the local computer.
Public class IPAddressCollection Stores a set of IPAddress types.
Public class IPAddressInformation Provides information about a network interface address.
Public class IPAddressInformationCollection Stores a set of IPAddressInformation types.
Public class IPGlobalProperties Provides information about the network connectivity of the local computer.
Public class IPGlobalStatistics Provides Internet Protocol (IP) statistical data.
Public class IPInterfaceProperties Provides information about network interfaces that support Internet Protocol version 4 (IPv4) or Internet Protocol version 6 (IPv6).
Public class IPInterfaceStatistics Provides Internet Protocol (IP) statistical data for an network interface on the local computer.
Public class IPv4InterfaceProperties Provides information about network interfaces that support Internet Protocol version 4 (IPv4).
Public class IPv4InterfaceStatistics Provides statistical data for a network interface on the local computer.
Public class IPv6InterfaceProperties Provides information about network interfaces that support Internet Protocol version 6 (IPv6).
Public class MulticastIPAddressInformation Provides information about a network interface's multicast address.
Public class MulticastIPAddressInformationCollection Stores a set of MulticastIPAddressInformation types.
Public class NetworkAvailabilityEventArgs Provides data for the NetworkAvailabilityChanged event.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps 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 NetworkInformationException The exception that is thrown when an error occurs while retrieving network information.
Public class NetworkInformationPermission Controls access to network information and traffic statistics for the local computer. This class cannot be inherited.
Public class NetworkInformationPermissionAttribute Allows security actions for NetworkInformationPermission to be applied to code using declarative security.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps NetworkInterface Provides configuration and statistical information for a network interface.
Public class PhysicalAddress Provides the Media Access Control (MAC) address for a network interface (adapter).
Public class Ping Allows an application to determine whether a remote computer is accessible over the network.
Public class PingCompletedEventArgs Provides data for the PingCompleted event.
Public class PingException The exception that is thrown when a Send or SendAsync method calls a method that throws an exception.
Public class PingOptions Used to control how Ping data packets are transmitted.
Public class PingReply Provides information about the status and data resulting from a Send or SendAsync operation.
Public class TcpConnectionInformation Provides information about the Transmission Control Protocol (TCP) connections on the local computer.
Public class TcpStatistics Provides Transmission Control Protocol (TCP) statistical data.
Public class UdpStatistics Provides User Datagram Protocol (UDP) statistical data.
Public class UnicastIPAddressInformation Provides information about a network interface's unicast address.
Public class UnicastIPAddressInformationCollection Stores a set of UnicastIPAddressInformation types.

  Delegate Description
Public delegate Supported by Portable Class Library Supported in .NET for Windows Store apps NetworkAddressChangedEventHandler References one or more methods to be called when the address of a network interface changes.
Public delegate NetworkAvailabilityChangedEventHandler References one or more methods to be called when the availability of the network changes.
Public delegate PingCompletedEventHandler Represents the method that will handle the PingCompleted event of a Ping object.

  Enumeration Description
Public enumeration DuplicateAddressDetectionState Specifies the current state of an IP address.
Public enumeration IPStatus Reports the status of sending an Internet Control Message Protocol (ICMP) echo message to a computer.
Public enumeration NetBiosNodeType Specifies the Network Basic Input/Output System (NetBIOS) node type.
Public enumeration NetworkInformationAccess Specifies permission to access information about network interfaces and traffic statistics.
Public enumeration NetworkInterfaceComponent Specifies the Internet Protocol versions that are supported by a network interface.
Public enumeration NetworkInterfaceType Specifies types of network interfaces.
Public enumeration OperationalStatus Specifies the operational state of a network interface.
Public enumeration PrefixOrigin Specifies how an IP address network prefix was located.
Public enumeration ScopeLevel The scope level for an IPv6 address.
Public enumeration SuffixOrigin Specifies how an IP address host suffix was located.
Public enumeration TcpState Specifies the states of a Transmission Control Protocol (TCP) connection.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft