Ping::SendAsyncCancel Method ()


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)

void SendAsyncCancel()

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

.NET Framework
Available since 2.0
Return to top