title: Make an if with ping and ttl
body: <p>I want to run in my code a function that checks if the unit is online and also if the <strong>TTL</strong> is less then <strong>250</strong> </p>
  
  <p>but I didn't find where to see the <strong>TTL</strong> </p>
  
  <p><strong>Code:</strong></p>
  
  <pre><code>string data   = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
  byte[] buffer = Encoding.ASCII.GetBytes(data);
  int timeout   = 1500;
  
  PingReply reply = p.Send(IP,timeout,buffer);
  if (reply.Status == IPStatus.Success)
  {
      time = DateTime.Now.ToString();
      Online.Add(IP)
  }
  </code></pre>
  
  <p>What is the option for seeing the <strong>TTL</strong>?</p>