The IPAddress class doesn’t seem to exist in the WinRT API. Is there an equivalent to IPAddress.HostToNetworkOrder() available for converting an int from Host order to Network order (Little Endian to Big Endian)?
The IPAddress class doesn’t seem to exist in the WinRT API. Is there an
Share
I ended up writing my own method. It’s really simple. All it does is reverse the byte order. Here it is for your copy-and-pasting pleasure: