The package name of this class is hubitat.helper. So to use in an App or Driver you would reference it with hubitat.helper.NetworkUtils.
Performs an ICMP ping and returns the results.
PingData ping(String IPAddress) PingData ping(String IPAddress, Integer count)
IPAddress - The IP Address to ping count - The number of ping requests to send (defaults to 3, maximum is 5).
PingData - An object containing the following properties: Double rttAvg - Average Round Trip Time Double rttMin - Minimum Round Trip Time Double rttMax - Maximum Round Trip Time Integer packetsTransmitted - Ping requests sent Integer packetsReceived - Responses received Integer packetLoss - Responses lost