Редагувати

Поділитися через


UnicastIPAddressInformation.PrefixOrigin Property

Definition

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

public:
 abstract property System::Net::NetworkInformation::PrefixOrigin PrefixOrigin { System::Net::NetworkInformation::PrefixOrigin get(); };
public abstract System.Net.NetworkInformation.PrefixOrigin PrefixOrigin { get; }
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public abstract System.Net.NetworkInformation.PrefixOrigin PrefixOrigin { get; }
member this.PrefixOrigin : System.Net.NetworkInformation.PrefixOrigin
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
member this.PrefixOrigin : System.Net.NetworkInformation.PrefixOrigin
Public MustOverride ReadOnly Property PrefixOrigin As PrefixOrigin

Property Value

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

Attributes

Exceptions

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

Remarks

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.

Applies to