Mono Class Library: System.Net.IPAddress Overview | Members

System.Net.IPAddress.Address Property

Gets or sets an Internet Protocol (IP) address. [Edit]

[System.Obsolete("This property is obsolete. Use GetAddressBytes.")]
public long Address { set; get; }

Value

A long containing the IP address in host-byte-order. [Edit]

Exceptions

TypeReason
ArgumentOutOfRangeExceptionThe value specified in a set operation is less than 0. [Edit]

Remarks

Note:

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

Values greater than 0x00000000FFFFFFFF are permitted for IPv6 extensibility.

[Edit]

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0