如何以编程方式设置 Windows 10 移动热点? [英] How to set up Windows 10 Mobile Hotspot programmatically?
问题描述
Windows 10 引入了
如何启用它,使用 PowerShell 或 Windows API 以编程方式设置 SSID 和密码?
注意:我不是在谈论托管网络服务(即 netsh wlan set hostsnetwork mode=allow ssid=Name key=Passphrase
).即使网卡不支持托管网络,移动热点服务也能正常工作.
到目前为止,我使用 Process Monitor 发现 Mobile Hotspot 由 icssvc
服务管理,SSID 和密码存储为注册表项 HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesicssvcSettingsPrivateConnectionSettings
下的二进制数据.
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.
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_MACHINESYSTEMCurrentControlSetServicesicssvcSettingsPrivateConnectionSettings
.
这篇关于如何以编程方式设置 Windows 10 移动热点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!