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 | |
---|---|---|
CellularMobileOperator | ||
IsCellularDataEnabled | ||
IsCellularDataRoamingEnabled | ||
IsNetworkAvailable | ||
IsWiFiEnabled |
Top
Methods
Name | Description | |
---|---|---|
ResolveHostNameAsync(DnsEndPoint, NameResolutionCallback, Object) | ||
ResolveHostNameAsync(DnsEndPoint, NetworkInterfaceInfo, NameResolutionCallback, Object) |
Top
Events
Name | Description | |
---|---|---|
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.