<PackageReference Include="NETStandard.Library" Version="2.0.0-preview2-25401-01" />

System.Net.NetworkInformation.Ping

public class Ping : Component
namespace System.Net.NetworkInformation { public class Ping : Component { public event PingCompletedEventHandler PingCompleted; public Ping(); protected void OnPingCompleted(PingCompletedEventArgs e); public PingReply Send(IPAddress address); public PingReply Send(IPAddress address, int timeout); public PingReply Send(IPAddress address, int timeout, byte[] buffer); public PingReply Send(IPAddress address, int timeout, byte[] buffer, PingOptions options); public PingReply Send(string hostNameOrAddress); public PingReply Send(string hostNameOrAddress, int timeout); public PingReply Send(string hostNameOrAddress, int timeout, byte[] buffer); public PingReply Send(string hostNameOrAddress, int timeout, byte[] buffer, PingOptions options); public void SendAsync(IPAddress address, int timeout, byte[] buffer, PingOptions options, object userToken); public void SendAsync(IPAddress address, int timeout, byte[] buffer, object userToken); public void SendAsync(IPAddress address, int timeout, object userToken); public void SendAsync(IPAddress address, object userToken); public void SendAsync(string hostNameOrAddress, int timeout, byte[] buffer, PingOptions options, object userToken); public void SendAsync(string hostNameOrAddress, int timeout, byte[] buffer, object userToken); public void SendAsync(string hostNameOrAddress, int timeout, object userToken); public void SendAsync(string hostNameOrAddress, object userToken); public void SendAsyncCancel(); public Task<PingReply> SendPingAsync(IPAddress address); public Task<PingReply> SendPingAsync(IPAddress address, int timeout); public Task<PingReply> SendPingAsync(IPAddress address, int timeout, byte[] buffer); public Task<PingReply> SendPingAsync(IPAddress address, int timeout, byte[] buffer, PingOptions options); public Task<PingReply> SendPingAsync(string hostNameOrAddress); public Task<PingReply> SendPingAsync(string hostNameOrAddress, int timeout); public Task<PingReply> SendPingAsync(string hostNameOrAddress, int timeout, byte[] buffer); public Task<PingReply> SendPingAsync(string hostNameOrAddress, int timeout, byte[] buffer, PingOptions options); } }