private void ReceiveParticipantList(dynamic jsonData)
        {
            var participantList = ((object[])jsonData["ParticipantList"]).Select(x => x.ToString()).ToList();

            if (Config.Current.StartupMode != Config.StartupModes.Notifier)
            {
                if (participantList.Count > AditClient.ParticipantList.Count)
                {
                    FlyoutNotification.Show("A partner has connected.");
                }
                else if (participantList.Count < AditClient.ParticipantList.Count)
                {
                    FlyoutNotification.Show("A partner has disconnected.");
                }
            }
            AditClient.ParticipantList.RemoveAll(x => !participantList.Contains(x.ID));
            foreach (var partner in participantList)
            {
                if (!AditClient.ParticipantList.Exists(x => x.ID == partner))
                {
                    AditClient.ParticipantList.Add(new Participant()
                    {
                        ID = partner
                    });
                }
            }
            Pages.Client.Current.RefreshUICall();
        }
        private void ReceiveParticipantList(dynamic jsonData)
        {
            var participantList = ((object[])jsonData["ParticipantList"]).Select(x => x.ToString()).ToList();

            if (participantList.Count == 1)
            {
                FlyoutNotification.Show("Connection to partner has been closed.");
                AditViewer.Disconnect();
            }
            else if (participantList.Count > AditViewer.ParticipantList.Count)
            {
                FlyoutNotification.Show("A partner has connected.");
            }
            else if (participantList.Count < AditViewer.ParticipantList.Count)
            {
                FlyoutNotification.Show("A partner has disconnected.");
            }
            AditViewer.ParticipantList = participantList;
        }