Share via


SocketExtensions Class

Inheritance Hierarchy

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

Namespace:  Microsoft.Phone.Net.NetworkInformation
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class SocketExtensions
public static class SocketExtensions
[ExtensionAttribute]
public ref class SocketExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type SocketExtensions =  class end

The SocketExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member AssociateToNetworkInterface
Public methodStatic member GetCurrentNetworkInterface
Public methodStatic member SetNetworkPreference
Public methodStatic member SetNetworkRequirement

Top

Version Information

.NET for Windows Phone apps

Supported in: Windows Phone 8, Silverlight 8.1

Thread Safety

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

See Also

Reference

Microsoft.Phone.Net.NetworkInformation Namespace