private async Task GetResourceHostNameTask(RemoteMachineModel model)
 {
     if (model.IsOnNetwork)
     {
         await model.GetHostNameAsync();
     }
 }
        private async Task FindResourceHostNamesTask(RemoteMachineModel model)
        {
            await model.CheckIsOnNetworkTask();

            if (model.IsOnNetwork)
            {
                await model.GetHostNameAsync();

                deviceCount++;
            }

            scansRemaining -= 1;
            ScanProgress    = Convert.ToInt32(Math.Round(((255 - scansRemaining) / 255) * 100));
        }