/// <summary> /// Retrieve server information and display it /// </summary> private void GetServerInformation() { ServerInfo info = rconServerProxy.GetServerData(serverConnectionInfo.QueryPort); if (info != null) { lblConnectedTo.Text = info.Name; lblMapName.Text = info.Map; lblPlayerCount.Text = info.Players + "/" + info.MaxPlayers; } }