Share via


IPAddress Constructor (Int64)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the IPAddress class with the address specified as an Int64.

Namespace:  System.Net
Assembly:  System (in System.dll)

Syntax

'Declaration
Public Sub New ( _
    newAddress As Long _
)
public IPAddress(
    long newAddress
)
public:
IPAddress(
    long long newAddress
)
new : 
        newAddress:int64 -> IPAddress
public function IPAddress(
    newAddress : long
)

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".

Remarks

The IPAddress instance is created with the Address property set to newAddress.

The Int64 value is assumed to be in network byte order.

.NET Framework Security

See Also

Reference

IPAddress Class

IPAddress Overload

System.Net Namespace