Share via


HotspotAuthenticationContext.NetworkAdapter Property

Definition

Gets the network interface that is connected to the WLAN access point of the hotspot.

Note

This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.

If you want to use this API and publish your app to the Microsoft Store, then you'll need special approval. For more information, see the Restricted capabilities section in the App capability declarations topic.

public:
 property NetworkAdapter ^ NetworkAdapter { NetworkAdapter ^ get(); };
NetworkAdapter NetworkAdapter();
public NetworkAdapter NetworkAdapter { get; }
var networkAdapter = hotspotAuthenticationContext.networkAdapter;
Public ReadOnly Property NetworkAdapter As NetworkAdapter

Property Value

An object that uniquely identifies the network.

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Applies to