DuplicateAddressDetectionState Enumeration


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies the current state of an IP address.

Namespace:   System.Net.NetworkInformation
Assembly:  System (in System.dll)

type DuplicateAddressDetectionState

Member nameDescription

The address is valid, but it is nearing its lease lifetime and should not be used by applications.


The address is not unique. This address should not be assigned to the network interface.


The address is not valid. A nonvalid address is expired and no longer assigned to an interface; applications should not send data packets to it.


The address is valid and its use is unrestricted.


The duplicate address detection procedure's evaluation of the address has not completed successfully. Applications should not use the address because it is not yet valid and packets sent to it are discarded.

To help ensure that all interfaces on a network have a unique address, the interface host is responsible for running a "duplicate address detection" algorithm on unicast addresses. The purpose of this algorithm is to attempt to prevent non-unique addresses on the network. This process is defined in IETF RFC 1971.

This enumeration is used by the UnicastIPAddressInformation and MulticastIPAddressInformation classes. Instances of this class are returned when you retrieve the unicast address information for a NetworkInterface object.

The following code example determines unicast address information.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top