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

Miguel de Icaza miguel at novell.com
Mon Apr 2 12:11:26 EDT 2007


Hello,

> > 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
> output?

Ping arguments and output vary from OS to OS.

But if someone wants to do it, we are taking patches.

Miguel.




More information about the Mono-devel-list mailing list