SocketExtensions Class

July 28, 2014

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.

  NameDescription
Public methodStatic memberAssociateToNetworkInterfaceSets information about a network interface by associating it with a new set of network interface information.
Public methodStatic memberGetCurrentNetworkInterfaceGets all available information about the network interface.
Public methodStatic memberSetNetworkPreferenceSets the preference for a network interface to use either cellular or non-cellular technology.
Public methodStatic memberSetNetworkRequirementSets the requirement for a network interface to use either cellular or non-cellular technology.
Top

Windows Phone OS

Supported in: 8.1, 8.0, 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.

Show:
© 2014 Microsoft