Ping.SendAsyncCancel Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Cancels all pending asynchronous requests to send an Internet Control Message Protocol (ICMP) echo message and receives a corresponding ICMP echo reply message.

Namespace:   System.Net.NetworkInformation
Assembly:  System (in System.dll)

public void SendAsyncCancel()

Call this method to terminate any calls to SendAsync that have not completed.

.NET Framework
Available since 2.0
Return to top