Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Module

System.Networking

module System.Networking

Addresses and name resolution

IPAddress, IPv4Address and IPv6Address model addresses, while Dns performs supported host-backed name resolution. NetworkDeadline represents the deadline used by network operations. DnsError and address errors distinguish expected failures.

Address representation and resolution are separate from opening a connection. See networking and System.Networking.Sockets for the current IPv4 TCP transport scope; an IPv6 value does not imply IPv6 socket support.

Modules

2 items

Types

7 items
Dns Resolves hostnames to a bounded read-only sequence of numeric IPv4 addresses.
DnsError A recoverable name-resolution failure, separate from socket connection errors and runtime Faults.
IPAddress An immutable IP address in the closed IPv4 and IPv6 family.
IPAddressError Expected failures when parsing an IP address literal.
IPv4Address An immutable four-byte IPv4 address, created by IPAddress.Parse.
IPv6Address An immutable sixteen-byte IPv6 address, created by IPAddress.Parse.
NetworkDeadline A shared, process-local monotonic budget for network operations.