IPAddress.HostToNetworkOrder Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Converts a value from host byte order to network byte order.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticHostToNetworkOrder(Int16)

Converts a short value from host byte order to network byte order.

System_CAPS_pubmethodSystem_CAPS_staticHostToNetworkOrder(Int32)

Converts an integer value from host byte order to network byte order.

System_CAPS_pubmethodSystem_CAPS_staticHostToNetworkOrder(Int64)

Converts a long value from host byte order to network byte order.

Return to top
Show: