[Mono-bugs] [Bug 614976] New: NetworkInterface.OperationStatus is always Unknown

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jun 16 22:12:06 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=614976

http://bugzilla.novell.com/show_bug.cgi?id=614976#c0


           Summary: NetworkInterface.OperationStatus is always Unknown
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: x86-64
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: scpeterson at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US)
AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.70 Safari/533.4

Test Program:

using System;
using System.Net.NetworkInformation;

class MainClass
{
    public static void Main (string[] args)
    {
        foreach (var nic in NetworkInterface.GetAllNetworkInterfaces ()) {
            Console.WriteLine ("{0}: {1}", nic.Name, nic.OperationalStatus);
        }
    }
}

One Mac OSX 10.6.4 this will list all network interfaces as having an Unknown
OperationalStatus.  While accurate (the runtime apparently does *not* know the
status of those network interfaces), it would be nice to have a little more
information, such as which adapters are Up.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list