MulticastIPAddressInformation 类

定义

提供网络接口的多路广播地址信息。Provides information about a network interface's multicast address.

public ref class MulticastIPAddressInformation abstract : System::Net::NetworkInformation::IPAddressInformation
public abstract class MulticastIPAddressInformation : System.Net.NetworkInformation.IPAddressInformation
type MulticastIPAddressInformation = class
    inherit IPAddressInformation
Public MustInherit Class MulticastIPAddressInformation
Inherits IPAddressInformation
继承
MulticastIPAddressInformation

注解

不创建此类的实例;实例在由属性返回的数组中返回 MulticastAddressesYou do not create instances of this class; instances are returned in the array returned by the MulticastAddresses property.

构造函数

MulticastIPAddressInformation()

初始化 MulticastIPAddressInformation 类的新实例。Initializes a new instance of the MulticastIPAddressInformation class.

属性

Address

获取 Internet 协议 (IP) 地址。Gets the Internet Protocol (IP) address.

(继承自 IPAddressInformation)
AddressPreferredLifetime

获取此地址作为首选地址的剩余秒数。Gets the number of seconds remaining during which this address is the preferred address.

AddressValidLifetime

获取此地址保持有效的剩余秒数。Gets the number of seconds remaining during which this address is valid.

DhcpLeaseLifetime

指定此 IP 地址的动态主机配置协议 (DHCP) 租约的剩余时间量。Specifies the amount of time remaining on the Dynamic Host Configuration Protocol (DHCP) lease for this IP address.

DuplicateAddressDetectionState

获取一个值,该值指示重复地址检测算法的状态。Gets a value that indicates the state of the duplicate address detection algorithm.

IsDnsEligible

获取一个 Boolean 值,该值指示 Internet 协议 (IP) 地址出现在域名系统 (DNS) 服务器数据库中时是否有效。Gets a Boolean value that indicates whether the Internet Protocol (IP) address is valid to appear in a Domain Name System (DNS) server database.

(继承自 IPAddressInformation)
IsTransient

获取一个 Boolean 值,该值指示 Internet 协议 (IP) 地址是否为瞬态(群集地址)。Gets a Boolean value that indicates whether the Internet Protocol (IP) address is transient (a cluster address).

(继承自 IPAddressInformation)
PrefixOrigin

获取一个值,该值标识多路广播 Internet 协议 (IP) 地址前缀的源。Gets a value that identifies the source of a Multicast Internet Protocol (IP) address prefix.

SuffixOrigin

获取一个值,该值标识多路广播 Internet 协议 (IP) 地址后缀的源。Gets a value that identifies the source of a Multicast Internet Protocol (IP) address suffix.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于