UnicastIPAddressInformation.PrefixOrigin Property

Note: This property is new in the .NET Framework version 2.0.

Gets a value that identifies the source of a unicast Internet Protocol (IP) address prefix.

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

public abstract PrefixOrigin PrefixOrigin { get; }
/** @property */
public abstract PrefixOrigin get_PrefixOrigin ()

public abstract function get PrefixOrigin () : PrefixOrigin

Property Value

One of the PrefixOrigin values that identifies how the prefix information was obtained.

Exception typeCondition


This property is not valid on computers running operating systems earlier than Windows XP.

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.

Windows 98, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions