Fetching WiFi adapters list in Windows 10 app fails

三世轮回 提交于 2019-12-10 13:58:21

问题


I have a Windows 10 universal app and I am trying to get the list of WiFi adapters:

var adapters = await WiFiAdapter.FindAllAdaptersAsync();

I have all the required permissions set up. This calls works once. Then when I close or kill the app, the call fails with

An attempt was made to establish a session to a network server, but there are already too many sessions established to that server. (Exception from HRESULT: 0x800704C4)

The error message is strange, I do not know how to interpret or more importantly fix it.

来源:https://stackoverflow.com/questions/34269468/fetching-wifi-adapters-list-in-windows-10-app-fails

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!