[Mono-dev] System.Net.NetworkInformation
Miguel de Icaza
miguel at novell.com
Tue May 20 17:17:48 EDT 2008
Hello,
The case that uses sysfs is only used on the Linux case; We would
need different implementations for different operating systems.
On Mon, 2008-05-19 at 18:56 -0700, Jacob Gladish wrote:
> I tried to use System.Net.NetworkInformation.IPInterfaceProperties.GetIPProperties(). It looks like it's not implemented. I'd certainly be willing to lend a hand here, but I have a question... In NetworkInterface.cs there's this comment:
>
> //
> // This class needs support from the libsupport.so library to fetch the
> // data using arch-specific ioctls.
> //
>
>
> In the code that follows, there's direct access to sysfs -- see the implementation for GetAllNetworkInterfaces() in NetworkInterface.cs. It seems sysfs has a lot (possibly all) the information needed to implement the missing classes required for GetIPProperties() to work. What's the direction here? As far as I know, sysfs is a Linux-only thing.
> thanks
> -jake
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list