This code works in the normal .net framework, what do I need to do to
get it to run in the compact .net framework?
//begin code
Ping ping = new Ping();
PingReply pingReply = null;
string addressToPing = textBoxServerIP.Text;
addTextToTextBox("Pinging: " + addressToPing);
pingReply = ping.Send(addressToPing);
string pingStatus = pingReply.Status.ToString() + ",
Response Time: " + pingReply.RoundtripTime.ToString() + " ms";
addTextToTextBox(pingStatus);
//end code
Simon Hart - 29 Jun 2007 15:42 GMT
I've used the OpenNETCF.Net.NetworkInformation.Ping class provided from the
SDF.
http://www.opennetcf.org.

Signature
Simon Hart
http://simonrhart.blogspot.com
> This code works in the normal .net framework, what do I need to do to
> get it to run in the compact .net framework?
[quoted text clipped - 11 lines]
>
> //end code