Network.GetListeningEndpoints for the ports which are listening for incoming connections.
PacketLossPercent are new from v5.2 and are null on every platform but Windows. Even on Windows
PacketLossPercent is always null as this information is never non-zero, even in Windows' own Network Resource Monitor. (The performance counter information is not gathered, presumably for performance reasons.)