Пример #1
0
 private async void Reboot()
 {
     if (MessageBox.Show("Are you sure?", "Device reboot", MessageBoxButton.YesNo) == MessageBoxResult.OK)
     {
         await _client.RebootDeviceAsync(Id);
     }
 }