How to set up Windows 10 Mobile Hotspot programmatically?

徘徊边缘 提交于 2019-12-06 01:33:00

问题


Windows 10 introduced the Mobile Hotspot service:

How to enable it, set the SSID and password programmatically, using PowerShell or Windows API?

Note: I am not talking about the Hosted Network service (i.e. netsh wlan set hostednetwork mode=allow ssid=Name key=Passphrase). The Mobile Hotspot service works even if a network card does not support Hosted Network.


回答1:


What I have found so far using Process Monitor is that Mobile Hotspot is managed by the icssvc service and SSID and password are stored as binary data under registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\icssvc\Settings\PrivateConnectionSettings.



来源:https://stackoverflow.com/questions/47744767/how-to-set-up-windows-10-mobile-hotspot-programmatically

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