htonl

[DllImport("ws2_32.dll", SetLastError = true)]
public static extern uint htonl(
   uint hostlong
);

Microsoft documentation: Link

Last updated