Beispiel #1
0
 private void btnScan_Click(object sender, EventArgs e)
 {
     timer.Stop();
     lvIPList.Items.Clear();
     results        = scanner.BeginScan(ipFrom.IPAddress, ipTo.IPAddress);
     timer.Interval = 1000;
     timer.Tick    += new EventHandler(timer_Tick);
     timer.Start();
 }
Beispiel #2
0
 private void startScanIP()
 {
     timer.Stop();
     lvIPList.Items.Clear();
     results        = scanner.BeginScan(ipFrom.IPAddress, ipTo.IPAddress);
     timer.Interval = 1000;
     timer.Tick    += new EventHandler(timer_Tick);
     timer.Start();
 }