[Mono-dev] System.Net.NetworkInformation.Ping

Jonathan Pryor jonpryor at vt.edu
Mon Mar 26 19:46:27 EDT 2007

On Sun, 2007-03-25 at 02:14 -0400, Miguel de Icaza wrote:
> We do not have plans of implementing the Ping method at this point.  On
> Unix issuing Ping requires root privileges.  For making this work, we
> would have to write a setuid program and launch it every time this call
> is made.

Couldn't we just create a System.Diagnostics.Process instance
around /bin/ping (which is already setuid root) and interpret the

The downside to this is that different versions of `ping' will produce
different output (Linux vs. BSD vs. Solaris...), but this isn't entirely

 - Jon

More information about the Mono-devel-list mailing list