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

Definition

Warning

This API is now obsolete.

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.")]
public long Address { get; set; }
member this.Address : int64 with get, set
Public Property Address As Long

Property Value

The long value of the IP address.

Exceptions

Remarks

This property is obsolete. Use GetAddressBytes.

To convert Address to dotted-quad notation, use the ToString method.

Applies to