SocketExtensions Class
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Defines extension methods for working with a network interface.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
The SocketExtensions type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | AssociateToNetworkInterface | Sets information about a network interface by associating it with a new set of network interface information. |
![]() ![]() | GetCurrentNetworkInterface | Gets all available information about the network interface. |
![]() ![]() | SetNetworkPreference | Sets the preference for a network interface to use either cellular or non-cellular technology. |
![]() ![]() | SetNetworkRequirement | Sets the requirement for a network interface to use either cellular or non-cellular technology. |
For more information about extension methods, see Extension Methods (C# Programming Guide) or How to: Call an Extension Method (Visual Basic).
Show:

