This topic has not yet been rated - Rate this topic

SocketExtensions Class

Windows Phone

March 22, 2012

Defines extension methods for working with a network interface.

System.Object
  Microsoft.Phone.Net.NetworkInformation.SocketExtensions

Namespace:  Microsoft.Phone.Net.NetworkInformation
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
public static class SocketExtensions

The SocketExtensions type exposes the following members.

  Name Description
Public method Static member AssociateToNetworkInterface Sets information about a network interface by associating it with a new set of network interface information.
Public method Static member GetCurrentNetworkInterface Gets all available information about the network interface.
Public method Static member SetNetworkPreference Sets the preference for a network interface to use either cellular or non-cellular technology.
Public method Static member SetNetworkRequirement Sets the requirement for a network interface to use either cellular or non-cellular technology.
Top

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)