确定正在使用哪个 Windows 设备连接到网络

若要确定使用哪个 Windows 设备连接到网络,检查网络适配器的 Windows 设备 ID,该 ID 由帐户的当前网络设备对象的 DeviceId 属性公开。

例如:

account.currentDeviceInformation.deviceId

移动宽带 Windows 运行时 API 的常见任务