Provides types that allow you to retrieve information about network adapters, IP addresses, and network statistics on the local computer. This namespace is crucial for applications that need to monitor or interact with network connectivity.
Provides access to network configuration properties for the local computer, such as DNS suffix, host name, and MAC addresses.
var properties = IPGlobalProperties.GetIPGlobalProperties();
Console.WriteLine($"Host Name: {properties.HostName}");
Console.WriteLine($"Domain Name: {properties.DomainName}");
Abstract base class that provides information about an IP address.
Provides information about a unicast IP address.
Provides Internet Control Message Protocol (ICMPv4) statistics for the local computer.
Provides Transmission Control Protocol (TCP) statistics for the local computer.
Provides User Datagram Protocol (UDP) statistics for the local computer.
Represents a collection of IP addresses.
Represents a network interface on the local computer.
Specifies the type of a network interface.
Specifies the operational status of a network interface.