This version of Unity is unsupported.
Removed in version 2018.4.36

MasterServer.PollHostList

Obsolete The legacy networking system has been removed in Unity 2018.2. Use Unity Multiplayer and NetworkIdentity instead.

Declaration

public static HostData[] PollHostList();

Description

Check for the latest host list received by using MasterServer.RequestHostList.

You can clear the current host list with MasterServer.ClearHostList. That way you can be sure that the list returned by is up to date.