Example #1
0
 private async void PingPong_OnRemoteDeviceRemoved(object sender, string e)
 {
     await Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () =>
     {
         var remoteSystemInfo = RemoteSystemInfoCollection.FirstOrDefault(d => d.Id == e);
         if (remoteSystemInfo != null)
         {
             RemoteSystemInfoCollection.Remove(remoteSystemInfo);
         }
     });
 }