UnicastIPAddressInformation.PrefixOrigin 属性

定义

获取一个值,该值标识单播 Internet 协议 (IP) 地址前缀的源。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; }
member this.PrefixOrigin : System.Net.NetworkInformation.PrefixOrigin
Public MustOverride ReadOnly Property PrefixOrigin As PrefixOrigin

属性值

PrefixOrigin

PrefixOrigin 值之一,标识前缀信息是如何获取的。One of the PrefixOrigin values that identifies how the prefix information was obtained.

例外

此属性在运行早于 Windows XP 的操作系统的计算机上无效。This property is not valid on computers running operating systems earlier than Windows XP.

注解

IP 地址分为两部分:前缀和后缀。IP addresses are divided into two parts: the prefix and the suffix. 地址前缀标识 IP 地址的网络部分,地址后缀标识主机部分。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.

适用于