This documentation is archived and is not being maintained.

IPAddress.HostToNetworkOrder Method

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

Name Description
IPAddress.HostToNetworkOrder (Int16) Converts a short value from host byte order to network byte order.

Supported by the .NET Compact Framework.

IPAddress.HostToNetworkOrder (Int32) Converts an integer value from host byte order to network byte order.

Supported by the .NET Compact Framework.

IPAddress.HostToNetworkOrder (Int64) Converts a long value from host byte order to network byte order.

Supported by the .NET Compact Framework.

Show: