示例#1
0
        /// <summary>
        /// Generates the whole public IP range with min/max threads set.
        /// </summary>
        private static void PublicScanWithIncreasedThreads()
        {
            // Sets the minimum number of active worker threads to 100.
            var scan = new PublicScan(IPGenerated, 100);

            scan.Scan();

            // Sets the minimum number of active worker threads to 100 and the maximum to 150.
            var scan2 = new PublicScan(IPGenerated, 100, 150);

            scan2.Scan();
        }
示例#2
0
        /// <summary>
        /// This generates the whole public IP range.
        /// </summary>
        private static void PublicScan()
        {
            var scan = new PublicScan(IPGenerated);

            scan.Scan();
        }