NetworkInterface.Type vs. NetworkInterface.InterfaceType

Monday, November 17, 2003 1:25:09 AM (GMT Standard Time, UTC+00:00)

While working on a sample I plan to share in the near future I have been playing with the System.Net.NetworkInformation classes. There are some nice additions here giving us easy access to a lot of network related information and ability to monitor and properly react to changes.

During this I noticed that the NetworkInterface.Type property specifies the InterfaceType as an InterfaceType enum. Would it not make sense to expose this property as NetworkInterface.InterfaceType in the same way that NetworkInterface.OperationalStatus is setup with the OperationalStatus enum? Using "Type" alone seems a little too generic and a little confusing in my humble opinion.

Thoughts?

Posted in Longhorn  | Comments [0]