Collapse the table of content
Expand the table of content
Expand Minimize

SuffixOrigin Enumeration

Specifies how an IP address host suffix was located.

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

type SuffixOrigin

Member nameDescription
LinkLayerAddressThe suffix is a link-local suffix.
ManualThe suffix was manually configured.
OriginDhcpThe suffix was supplied by a Dynamic Host Configuration Protocol (DHCP) server.
OtherThe suffix was located using an unspecified source.
RandomThe suffix was randomly assigned.
WellKnownThe suffix is a well-known suffix. Well-known suffixes are specified in standard-track Request for Comments (RFC) documents and assigned by the Internet Assigned Numbers Authority (Iana) or an address registry. Such suffixes are reserved for special purposes.

IP addresses are divided into two parts: the prefix and the suffix. The address prefix identifies the network portion of an IP address, and the address suffix identifies the host portion. Prefixes are assigned by global authorities, and suffixes are assigned by local system administrators.

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

The following code example displays prefix and suffix information for unicast addresses.

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft