SocketExtensions Class
Windows Phone
March 22, 2012
Defines extension methods for working with a network interface.
Namespace:
Microsoft.Phone.Net.NetworkInformation
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).