PingHost Method
Pings a host.
Syntax
[VB.NET] Public Sub PingHost(ByVal Host As String)
[C#] public void PingHost(string host);
Remarks
This method will ping a host. A valid internet domain name or address must be specified in Host, or an error will be returned.
PING request (ICMP ECHO) is sent to Host.
Example (Ping a Host)
PingControl.PingHost("MyHostName") ResponseTime = PingControl.ResponseTimeNOTE: This method has a corresponding asynchronous version (PingHostAsync) for use in the Xamarin environment.