IPAddress.Address IPAddress.Address IPAddress.Address IPAddress.Address Property

定义

警告

此 API 现已过时。

Internet 协议 (IP) 地址。An Internet Protocol (IP) address.

public:
 property long Address { long get(); void set(long value); };
[System.Obsolete("This property has been deprecated. It is address family dependent. Please use IPAddress.Equals method to perform comparisons. http://go.microsoft.com/fwlink/?linkid=14202")]
[System.Obsolete("IPAddress.Address is address family dependant, use Equals method for comparison.")]
[System.Obsolete("This property has been deprecated. It is address family dependent. Please use IPAddress.Equals method to perform comparisons. https://go.microsoft.com/fwlink/?linkid=14202")]
public long Address { get; set; }
member this.Address : int64 with get, set
Public Property Address As Long

属性值

IP 地址的长值。The long value of the IP address.

异常

注解

此属性已过时。This property is obsolete. 请使用 GetAddressBytesUse GetAddressBytes.

要转换Address点分四部分表示法,到使用ToString方法。To convert Address to dotted-quad notation, use the ToString method.

适用于