Specifies how an IP address network prefix was located.
| C# | Visual Basic |
public enum PrefixOrigin
Public Enumeration PrefixOrigin
| Member | Description |
|---|---|
| Other |
The prefix was located using an unspecified source.
|
| Manual |
The prefix was manually configured.
|
| WellKnown |
The prefix is a well-known prefix.
Well-known prefixes are specified in standard-track Request for Comments (RFC) documents and assigned by the Internet Assigned Numbers Authority (Iana) or an address registry.
Such prefixes are reserved for special purposes.
|
| Dhcp |
The prefix was supplied by a Dynamic Host Configuration Protocol (DHCP) server.
|
| RouterAdvertisement |
The prefix was supplied by a router advertisement.
|
| HasFlag |
Determines whether one or more bit fields are set in the current instance.
|
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 and MulticastIPAddressInformation classes. Instances of this class are returned when you retrieve the address information for a NetworkInterface object.