|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
.NET Framework 2.0
Thenamespace enables you to gather information about network events, changes, statistics, and properties. You can also determine whether a remote host is reachable by using the class.
Network Availability and Events
Theclass enables you to determine whether the network address or availability has changed. To use this class, create an event handler to process the change, and associate it with a or a . For more information, see .
Network Statistics and Properties
You can gather network statistics and properties on an interface or protocol basis. The, , and classes give information about a particular network interface, while the , , , , and classes give information about layer 3 and layer 4 packets. For more information, see .
Determine if a Remote Host is Reachable
You can use the Ping class to determine whether a Remote Host is up, on the network, and reachable. For more information, see.