This version of Unity is unsupported.
Removed

MasterServer.ClearHostList

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

Declaration

public static void ClearHostList();

Description

Clear the host list which was received by MasterServer.PollHostList.

Useful if you want to update the list and want to make sure you don't use the older data.