I have a txt file that each line contains the ip plus the server name:
Example: Ip; servername (1st Line) Ip; servername (2nd Line) Ip; servername (3rd Line)
What I intended was for my program to read this file and to ping each ip contained in the txt, the problem is that in addition to the ip the name is also with you on the same line. The server name should only be used in the ConsoleWriteLine to know which server is Timeout or Success
My code at the moment is this:
andthetxtfileisorganizedinthefollowingway: