Share via


DeviceNetworkInformation Class

Inheritance Hierarchy

System.Object
  Microsoft.Phone.Net.NetworkInformation.DeviceNetworkInformation

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

Syntax

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

The DeviceNetworkInformation type exposes the following members.

Properties

  Name Description
Public propertyStatic member CellularMobileOperator
Public propertyStatic member IsCellularDataEnabled
Public propertyStatic member IsCellularDataRoamingEnabled
Public propertyStatic member IsNetworkAvailable
Public propertyStatic member IsWiFiEnabled

Top

Methods

  Name Description
Public methodStatic member ResolveHostNameAsync(DnsEndPoint, NameResolutionCallback, Object)
Public methodStatic member ResolveHostNameAsync(DnsEndPoint, NetworkInterfaceInfo, NameResolutionCallback, Object)

Top

Events

  Name Description
Public eventStatic member NetworkAvailabilityChanged

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