IPAddress Constructor (Int64)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the IPAddress class with the address specified as an Int64.
Assembly: System.Net (in System.Net.dll)
Parameters
- newAddress
- Type: System.Int64
The long value of the IP address. For example, the value 0x2414188f in big-endian format would be the IP address "143.24.20.36".
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The newAddress parameter is out of range for an IPv4 address. |
Show: