This topic has not yet been rated - Rate this topic

NetworkInterfaceList Class

Windows Phone

March 22, 2012

Contains an enumerable collection of NetworkInterfaceInfo objects.

System.Object
  Microsoft.Phone.Net.NetworkInformation.NetworkInterfaceList

Namespace:  Microsoft.Phone.Net.NetworkInformation
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
public class NetworkInterfaceList : IEnumerable<NetworkInterfaceInfo>, 
	IEnumerable, IEnumerator<NetworkInterfaceInfo>, IDisposable, IEnumerator
<NetworkInterfaceList .../>

The NetworkInterfaceList type exposes the following members.

  Name Description
Public method NetworkInterfaceList Initializes a new instance of the NetworkInterfaceList class.
Top
  Name Description
Public property Current Gets the current element in the collection.
Top
  Name Description
Public method Dispose Releases the resources used by the current instance of the NetworkInterfaceList class.
Public method Equals (Inherited from Object.)
Protected method Finalize Allows an object to attempt to free resources and perform other cleanup operations before it is reclaimed by the garbage collector. (Overrides Object.Finalize().)
Public method GetEnumerator Returns an enumerator that iterates through the NetworkInterfaceList.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method MoveNext Advances the enumerator to the next element of the collection.
Public method Reset Resets the NetworkInterfaceList to its initial state.
Public method ToString (Inherited from Object.)
Top
  Name Description
Public Extension Method Subscribe<NetworkInterfaceInfo>(IObserver<NetworkInterfaceInfo>) Overloaded. Subscribes an observer to an enumerable sequence. Returns an object that can be used to unsubscribe the observer from the enumerable. (Defined by Observable.)
Public Extension Method Subscribe<NetworkInterfaceInfo>(IObserver<NetworkInterfaceInfo>, IScheduler) Overloaded. Subscribes an observer to an enumerable sequence. Returns an object that can be used to unsubscribe the observer from the enumerable. (Defined by Observable.)
Public Extension Method ToObservable<NetworkInterfaceInfo>() Overloaded. Converts an enumerable sequence to an observable sequence. (Defined by Observable.)
Public Extension Method ToObservable<NetworkInterfaceInfo>(IScheduler) Overloaded. Converts an enumerable sequence to an observable sequence. (Defined by Observable.)
Top
  Name Description
Explicit interface implemetation Private property IEnumerator.Current Gets the current element in the collection.
Explicit interface implemetation Private method IEnumerable.GetEnumerator Returns an enumerator that iterates through the NetworkInterfaceList.
Top

The NetworkInterfaceInfo objects contain information such as the speed of the network interface and whether the network interface is connected.

Windows Phone OS

Supported in: 7.1

Windows Phone

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Did you find this helpful?
(1500 characters remaining)