[Mono-dev] Using WMI
"Andrés G. Aragoneses"
knocte at gmail.com
Thu Jan 19 07:25:02 EST 2006
John Luke escribió:
> On Wed, 2006-01-18 at 22:37 +0100, "Andrés G. Aragoneses" wrote:
>> I am using .NET2005 for developing an application. This application must
>> know the IP address of the localhost and this was done, some days ago,
>> by resolving the DNS of localhost. However, now I have needed to know
>> the netmask information of each IP address of each network interface
>> installed on the host.
> There is System.Net.NetworkInformation in .NET 2.0, which is not yet
> implemented in mono, that probably has what you need.
Thanks John, I will have a look at it.
BTW: if someone wants to implement this namespace in Mono, how could
this be done? I mean, should the classes in Windows ask the WMI
internally and in Linux launch the "ip route show" command (as
Christopher B. has indicated in this thread), for example?
Thanks in advance,
Andrés [ knocte ]
More information about the Mono-devel-list