Skip to content

Commit

Permalink
Program.cs aktualisieren
Browse files Browse the repository at this point in the history
  • Loading branch information
100prznt authored Jul 25, 2024
1 parent 7c98816 commit aab066e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NetworkScanner/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Net.NetworkInformation;
using System.Net.NetworkInformation;
using System.Threading;
using System.Diagnostics;
using System.Collections.Generic;
Expand Down Expand Up @@ -123,14 +123,14 @@ public static void Main(string[] args)
watch.Stop();
destroyPingers();

//Generate csv file
using (var sw = new StreamWriter("result.csv"))
{
sw.WriteLine("\"IP\";\"Name\";");
foreach(var l in m_CsvLine)
sw.WriteLine(l);
}


Console.WriteLine();
Console.WriteLine("Finished in {0}. Found {1} active IP-addresses.", watch.Elapsed.ToString(), m_Result);
Console.ReadKey();
Expand Down

0 comments on commit aab066e

Please sign in to comment.