Response Event
Fired when a response packet is received.
Syntax
[VB.NET] Public Event OnResponse As OnResponseHandler
[C#] public event OnResponseHandler OnResponse; public delegate void OnResponseHandler(object sender, PingResponseEventArgs e); class PingResponseEventArgs : EventArgs { int RequestId {get;} string ResponseSource {get;} string ResponseStatus {get;} int ResponseTime {get;} }
Remarks
The RequestId parameter is used together with the RequestId property to match requests with responses.
ResponseStatus is set to "OK" for normal operation, or it contains an error string such as "Network unreachable", "Host unreachable", etc.