private async void Send_OnClick(object sender, RoutedEventArgs e)
 {
     if (_selectedRemoteSystem != null)
     {
         await RemoteSystemService.SendMessageToRemoteSystemAsync(_selectedRemoteSystem, MessageTextBox.Text);
     }
 }
        private async void DeviceListComboBox_OnSelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            _selectedRemoteSystem = DeviceListComboBox.SelectedItem as RemoteSystem;

            if (_selectedRemoteSystem != null)
            {
                await RemoteSystemService.LaunchAndConnect(_selectedRemoteSystem);
            }
        }
        protected override void OnBackgroundActivated(BackgroundActivatedEventArgs args)
        {
            base.OnBackgroundActivated(args);

            RemoteSystemService.OnMessageReceived(args);
        }