Click here to Skip to main content
15,886,788 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to get the ping continuous response for the following ip

ping 190.152.3.224 -t(-T PAMETER I SHOULD PASS)

how could i do this in asp.net using c#?

I WANT TO GET THE FOLLOWING OUTPUT:

REPLY FROM 190.152.3.224 bytes=32 timeM<1ms TTL=128
REPLY FROM 190.152.3.224 bytes=32 timeM<1ms TTL=128
REPLY FROM 190.152.3.224 bytes=32 timeM<1ms TTL=128
REPLY FROM 190.152.3.224 bytes=32 timeM<1ms TTL=128
REPLY FROM 190.152.3.224 bytes=32 timeM<1ms TTL=128
REPLY FROM 190.152.3.224 bytes=32 timeM<1ms TTL=128
REPLY FROM 190.152.3.224 bytes=32 timeM<1ms TTL=128
Posted
Comments
Herman<T>.Instance 10-Apr-15 8:46am    
What have you tried?

1 solution

Take a look at System.Net.NetworkInformation Ping class.

Use a timer to send a ping repeatedly.

Ping Class

Timer Class
 
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