How to ping In

By Super Man

here i will show how you can ping another computer in

here is the code for ping command.

You can pass Ip or address to argument of Ping function:

If host is available and successfully pings the it show messsge Pinging Successful else Host is not available
and if host is not found, then it will throws an exception.

             Dim RESPONSE As Boolean = My.Computer.Network.Ping("")
            If RESPONSE = True Then
                 MsgBox("Pinging Successful")
                 MsgBox("Host is not available ")
            End If

How to ping In  (1795 Views)