LocationMy.Computer.Network.Ping SyntaxDim result As Boolean = My.Computer.Network.Ping(host[, timeout]) or: Dim result As Boolean = My.Computer.Network.Ping(uri[, timeout])
DescriptionThe Ping method can be used to test for the presence of another system by making an ICMP protocol echo request over an IP network. This method returns TRue if the destination system was successfully Ping'd or False on a lack of success. Usage at a GlanceEven if the Ping method returns False, the destination system may still be running and on the network. Causes for failure include the ping protocol being turned off on the target system, the ping request being blocked by a firewall, or a failure of the packet to reach the target system due to other network issues. Related Framework Entries
See AlsoNetwork Object |