public event EventHandler<PingReceivedEventArgs> OnPingReceived
Event Data
The event handler receives an argument of type PingReceivedEventArgs containing data related to this event. The following PingReceivedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
LastData | Gets the data sent with the last received ping. |
LastPing | Gets the last ping that triggered this event. |
Listening | Gets the listening IP address. |
PingsReceived | Gets the date and time of the previous pings received by the IP address. |
RemoteAddress | Gets the remote IP address of the sender of the ping |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also