Home
Library
Learn
Downloads
Support
Community
Forums
MSDN Library
.NET Development
.NET Framework 3.5
.NET Framework Class Library
System.Net Namespace
IPAddress Class
IPAddress Methods
HostToNetworkOrder Method
HostToNetworkOrder Method (Int16)
HostToNetworkOrder Method (Int32)
HostToNetworkOrder Method (Int64)
Related Links
Equals Method
GetAddressBytes Method
GetHashCode Method
IsLoopback Method
NetworkToHostOrder Method
Parse Method
ToString Method
TryParse Method
IPAddress
.
.
::
.
HostToNetworkOrder Method
This page is specific to:
.NET Framework Version:
1.1
2.0
3.0
3.5
Silverlight 3
4
.NET Framework Class Library
IPAddress
.
.
::
.
HostToNetworkOrder Method
Converts a value from host byte order to network byte order.
Overload List
Name
Description
HostToNetworkOrder(Int16)
Converts a short value from host byte order to network byte order.
HostToNetworkOrder(Int32)
Converts an integer value from host byte order to network byte order.
HostToNetworkOrder(Int64)
Converts a long value from host byte order to network byte order.
Top
See Also
Reference
IPAddress Class
IPAddress Members
System.Net Namespace
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Yes
No
Do you like the tabbed code blocks?
Yes
No
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
x
Classic
Lightweight Beta
ScriptFree
Switch View