Exemplo n.º 1
0
        private async Task StartChecking()
        {
            IsBusy = true;

            CheckingResults = null;

            try
            {
                var res = await _ipChecker.CheckIpRange(IPAddress.Parse(FromIp), IPAddress.Parse(ToIp), Port);

                CheckingResults = res;
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
            finally
            {
                IsBusy = false;
            }
        }