IPAddress.Address Egenskap

Definition

Varning

IPAddress.Address is address family dependant, use Equals method for comparison.

Varning

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

Varning

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

En IP-adress (Internet Protocol).

public:
 property long Address { long get(); void set(long value); };
[System.Obsolete("IPAddress.Address is address family dependant, use Equals method for comparison.")]
public long Address { get; set; }
[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")]
public long Address { get; set; }
[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; }
[<System.Obsolete("IPAddress.Address is address family dependant, use Equals method for comparison.")>]
member this.Address : int64 with get, set
[<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")>]
member this.Address : int64 with get, set
[<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")>]
member this.Address : int64 with get, set
Public Property Address As Long

Egenskapsvärde

Det långa värdet för IP-adressen.

Attribut

Undantag

Adressfamiljen är InterNetworkV6.

Kommentarer

Den här egenskapen är föråldrad. Använd GetAddressBytes.

Om du vill konvertera Address till streckad quad-notation använder du ToString metoden .

Gäller för