/// <summary> /// Generates the whole private IP range with min/max threads set. /// </summary> private static void PrivateScanWithIncreasedThreads() { // Sets the minimum number of active worker threads to 100. var scan = new PrivateScan(IPGenerated, 100); scan.Scan(); // Sets the minimum number of active worker threads to 100 and the maximum to 150. var scan2 = new PrivateScan(IPGenerated, 100, 150); scan2.Scan(); }
/// <summary> /// This generates the whole private IP range. /// </summary> private static void PrivateScan() { var scan = new PrivateScan(IPGenerated); scan.Scan(); }