Issue
Code backup
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
TextToBeWritten = "Pinging 172.16.94.95... \r\n";
|
||||
|
||||
Ping ping = new Ping();
|
||||
PingReply pingReply = ping.Send("172.16.94.95");
|
||||
if (pingReply.Status == IPStatus.Success)
|
||||
{
|
||||
//Machine is alive
|
||||
TextToBeWritten += "Success!";
|
||||
}
|
||||
else
|
||||
TextToBeWritten += "Error!";
|
||||
Reference in New Issue
Block a user