private static void SetServerVariables(GameServer gameServer, string[] serverDataFrag, IPEndPoint remote) { gameServer.Country = (remote.Address.AddressFamily == AddressFamily.InterNetwork) ? GeoIP.GetCountryCode(remote.Address).ToUpperInvariant() : "??"; for (int i = 0; i < serverDataFrag.Length - 1; i += 2) { //Fetch the properties PropertyInfo property = typeof(GameServer).GetProperty(serverDataFrag[i]); if (property == null) { continue; } } }