Exemplo n.º 1
0
        private List <string> ScanRange(string ip)
        {
            var adjacent = NetworkUtils.AdjacentIPs(ip);
            //Debug.WriteLine("Got IPs: " + adjacent.MkString(", "));
            var middle = adjacent.Count / 2;
            var left   = adjacent.Take(middle);
            var right  = adjacent.Skip(middle).ToList();

            return(Lists.Interleave <string>(left.Reverse().ToList(), right));
        }