本文介绍了热点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有注册表设置来激活和停用移动热点?

Is there a registry setting to activate and deactivate mobile hotspot?

推荐答案

嗯,您可以在UWP应用程序中打开热点,而不是通过注册表设置以编程方式打开热点。您可以使用中的API来使用
实现它。 

Well, you could open hotspot in UWP apps programmatically not via registry setting. You could use the API from Windows.Networking.NetworkOperators Namespace to implement it. 

以下是此示例: Wi-Fi热点认证样本。虽然它是一个Windows 8样本,但它仍适用于UWP平台。

Here is a sample for this:Wi-Fi hotspot authentication sample. Although it is a windows 8 sample but it still works for UWP platform.

另一件事是,出于安全原因,不允许UWP应用程序读/写注册表。

Another thing is that UWP app is not allowed to read/write registry for security reason.

祝你好运,

Roy


这篇关于热点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-24 03:03