user1482489
user1482489

Reputation: 25

Continuously ping an IP address in background

My Windows Form application is using the .NET framework 3.5.

It needs to continuously ping an IP address (like ping IpAddress -t) and outputs the results in labels.

I am unable to do this using ping.sendAsync function. I do not have access to Threading.Task since I'm working in 3.5. Is there any alternative to this functionality?

My goal is to develop an application such as this one, using .NET 3.5.

Upvotes: 0

Views: 2902

Answers (1)

CodeCaster
CodeCaster

Reputation: 151586

In your PingCompleted event handler initiate a new SendAsync().

Upvotes: 2

Related Questions