问题
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