Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HostToNetworkOrder Method

IPAddress.HostToNetworkOrder Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member HostToNetworkOrder(Int16) Converts a short value from host byte order to network byte order.
Public method Static member HostToNetworkOrder(Int32) Converts an integer value from host byte order to network byte order.
Public method Static member HostToNetworkOrder(Int64) Converts a long value from host byte order to network byte order.
Top
Show:
© 2015 Microsoft