NetworkInterface Property
Collapse the table of content
Expand the table of content

NameResolutionResult.NetworkInterface Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the network interface that was used to resolve the host name.

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

'Declaration
Public ReadOnly Property NetworkInterface As NetworkInterfaceInfo

Property Value

Type: Microsoft.Phone.Net.NetworkInformation.NetworkInterfaceInfo
The network interface that was used to resolve the host name.

In one version of the ResolveHostNameAsync method, the user specifies the network interface. In the other version, the first available network interface is used.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft