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 System.Net.NetworkInformation.Ping and related classes to check whether a computer is reachable across the network.

Remarks

To be added.

Classes

TypeReason
DuplicateAddressDetectionState

Specifies the current state of an IP address.

GatewayIPAddressInformation

Represents the IP address of the network gateway. This class cannot be instantiated.

GatewayIPAddressInformationCollection

Stores a set of System.Net.NetworkInformation.GatewayIPAddressInformation types.

IcmpV4Statistics

Provides Internet Control Message Protocol for IPv4 (ICMPv4) statistical data for the local computer.

IcmpV6Statistics

Provides Internet Control Message Protocol for Internet Protocol version 6 (ICMPv6) statistical data for the local computer.

IPAddressCollection

Stores a set of System.Net.IPAddress types.

IPAddressInformation

Provides information about a network interface address.

IPAddressInformationCollection

Stores a set of System.Net.NetworkInformation.IPAddressInformation types.

IPGlobalProperties

Provides information about the network connectivity of the local computer.

IPGlobalStatistics

Provides Internet Protocol (IP) statistical data.

IPInterfaceProperties

Provides information about network interfaces that support Internet Protocol version 4 (IPv4) or Internet Protocol version 6 (IPv6).

IPStatus

Reports the status of sending an Internet Control Message Protocol (ICMP) echo message to a computer.

IPv4InterfaceProperties

Provides information about network interfaces that support Internet Protocol version 4 (IPv4).

IPv4InterfaceStatistics

Provides statistical data for a network interface on the local computer.

IPv6InterfaceProperties

Provides information about network interfaces that support Internet Protocol version 6 (IPv6).

MulticastIPAddressInformation

Provides information about a network interface's multicast address.

MulticastIPAddressInformationCollection

Stores a set of System.Net.NetworkInformation.MulticastIPAddressInformation types.

NetBiosNodeType

Specifies the Network Basic Input/Output System (NetBIOS) node type.

NetworkAddressChangedEventHandler

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

NetworkAvailabilityChangedEventHandler

References one or more methods to be called when the availability of the network changes.

NetworkAvailabilityEventArgs

Provides data for the System.Net.NetworkInformation.NetworkChange.NetworkAvailabilityChanged event.

NetworkChange

Allows applications to receive notification when the Internet Protocol (IP) address of a network interface, also called a network card or adapter, changes.

NetworkInformationAccess

Specifies permission to access information about network interfaces and traffic statistics.

NetworkInformationException

The exception that is thrown when an error occurs while retrieving network information.

NetworkInformationPermission

Controls access to network information and traffic statistics for the local computer. This class cannot be inherited.

NetworkInformationPermissionAttribute

Allows security actions for System.Net.NetworkInformation.NetworkInformationPermission to be applied to code using declarative security.

NetworkInterface

Provides configuration and statistical information for a network interface.

NetworkInterfaceComponent

Specifies the Internet Protocol versions that are supported by a network interface.

NetworkInterfaceType

Specifies types of network interfaces.

OperationalStatus

Specifies the operational state of a network interface.

PhysicalAddress

Provides the Media Access Control (MAC) address for a network interface (adapter).

Ping

Allows an application to determine whether a remote computer is accessible over the network.

PingCompletedEventArgs

Provides data for the System.Net.NetworkInformation.Ping.PingCompleted event.

PingCompletedEventHandler

Represents the method that will handle the System.Net.NetworkInformation.Ping.PingCompleted event of a System.Net.NetworkInformation.Ping object.

PingException

The exception that is thrown when a erload:System.Net.NetworkInformation.Ping.Send or erload:System.Net.NetworkInformation.Ping.SendAsync method calls a method that throws an exception.

PingOptions

Used to control how System.Net.NetworkInformation.Ping data packets are transmitted.

PingReply

Provides information about the status and data resulting from a erload:System.Net.NetworkInformation.Ping.Send or erload:System.Net.NetworkInformation.Ping.SendAsync operation.

PrefixOrigin

Specifies how an IP address network prefix was located.

SuffixOrigin

Specifies how an IP address host suffix was located.

TcpConnectionInformation

Provides information about the Transmission Control Protocol (TCP) connections on the local computer.

TcpState

Specifies the states of a Transmission Control Protocol (TCP) connection.

TcpStatistics

Provides Transmission Control Protocol (TCP) statistical data.

UdpStatistics

Provides User Datagram Protocol (UDP) statistical data.

UnicastIPAddressInformation

Provides information about a network interface's unicast address.

UnicastIPAddressInformationCollection

Stores a set of System.Net.NetworkInformation.UnicastIPAddressInformation types.