[Mono-list] System.Net.NetworkInformation

Miguel de Icaza miguel@ximian.com
Wed, 21 Jan 2004 14:36:01 -0500


> Are there any plans for, or is there already, an abstraction layer in
> the Mono classes for determining the local network configuration?  I
> know it's not in the MS Implementation of the .NET Framework, but it is
> in the Longhorn SDK
> (http://longhorn.msdn.microsoft.com/lhsdk/ref/system.net.networkinformat
> ion.aspx).  Right now I PInvoke GetNetworkParams and GetAdapterInfo on
> Windows in the iphlpapi.dll to retrieve the local network information,
> but I'm not really sure what to use to make it multi-platform.

Eventually we will also implement those APIs, but they are not on the
Mono 1.0 schedule at this point.

You could contribute the Linux implementation for those for now, and
copy that class into your source code during the 1.0 life time