I added the System.Net.Ping NuGet Package to a blank UWP project and referenced the System.Net.NetworkInformationnamespace.
Ping ping = new Ping();
var rep = await ping.SendPingAsync("8.8.8.8");
Inner Exception:
PlatformNotSupportedException: Ping functionality is not currently supported in UWP.