如何以编程方式设置Windows 10移动热点? [英] How to set up Windows 10 Mobile Hotspot programmatically?

查看:152
本文介绍了如何以编程方式设置Windows 10移动热点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows 10引入了

Windows 10 introduced the Mobile Hotspot service:

如何使用PowerShell或Windows API启用它,以编程方式设置SSID和密码?

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

注意:我不是在谈论托管网络服务(即netsh wlan set hostednetwork mode=allow ssid=Name key=Passphrase).即使网卡不支持托管网络,Mobile Hotspot服务也可以正常工作.

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.

推荐答案

到目前为止,我使用Process Monitor发现,移动热点由icssvc服务管理,SSID和密码作为二进制数据存储在注册表项下. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\icssvc\Settings\PrivateConnectionSettings.

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.

这篇关于如何以编程方式设置Windows 10移动热点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆