HotspotAuthenticationContext.NetworkAdapter 属性

定义

获取连接到热点的 WLAN 接入点的网络接口。

注意

此功能仅适用于由移动网络运营商授予特权访问权限的移动运营商应用和 UWP 应用。

如果要使用此 API 并将应用发布到 Microsoft Store,则需要获得特殊批准。 有关详细信息,请参阅应用功能声明主题中的受限功能部分。

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

属性值

唯一标识网络的对象。

Windows 要求

应用功能
cellularDeviceControl cellularDeviceIdentity

适用于