Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

Can anyone help me to get the code for fetching the ping and nslookup command execution result for multiple IPs?

It is like uploading or adding multiple IPs and it should fetch the result for those IPs using winforms(C#)

Command1: (ping IPaddress)

Command2: (nslookup IPaddress)
Posted

Hello Kamal,

It is better to build a console application for such requirements
You can refer these links

Ping IP address-

http://msdn.microsoft.com/en-us/library/hb7xxkfx(v=vs.110).aspx[^]

Ping nslookup IPaddress
http://www.c-sharpcorner.com/UploadFile/DougBell/NSLookUpDB00112052005013753AM/NSLookUpDB001.aspx[^]

All the best:)
 
Share this answer
 
Here is a CodeProject article that may help you.

How to redirect Standard Input/Output of an application[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900