Ping a Matchmaking room

I am trying to sort the room that matchMaker.ListMatches gives me. However, I do not see any way to ping a room the player is not connected to.

I have tried using:

Ping toThem = new Ping(matchDesc.directConnectInfos [0].publicAddress);

but for some reason the publicAdress is never set to anything.

I have seen:


but I have no idea where to get the hostID and connectionID it requires.

I found out how to do this but it is not a very good fix. Basically, I just added the local ping to the room name whenever a player hosts a game. Then the player looking to connect can just parse it off the room name.