在 Windows Mobile 上获取网络名称(订户名称)

发布于 2024-09-25 04:57:31 字数 40 浏览 1 评论 0原文

如何在 Windows Mobile 上获取网络名称(用户名称)?

How to get Network Name (Subscriber Name) on Windows Mobile?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

离鸿 2024-10-02 04:57:33

在 microsoft.windowsmobile.status.dll 中程序集 Microsoft.WindowsMo​​bile.Status 的命名空间 Microsoft.WindowsMo​​bile.Status 中,您有类 SystemState 具有完美匹配的属性 PhoneOperatorName

In the namespace Microsoft.WindowsMobile.Status in the assembly Microsoft.WindowsMobile.Status in microsoft.windowsmobile.status.dll, you have the class SystemState with the perfectly matching property PhoneOperatorName.

梦情居士 2024-10-02 04:57:33

您可以使用 RIL_GetOperatorList 检索可用运算符的列表。此调用返回的 RILOPERATORINFO 结构数组可能包括 dwStatus 为 RIL_OPSTATUS_CURRENT 的结构,该结构将是您当前连接到的网络运营商的名称。

请注意,对 RIL_GetOperatorList 的调用可能需要相当长的时间才能完成,因为它实际上是在搜索可用网络。

You can use RIL_GetOperatorList to retrieve the list of available operators. The array of RILOPERATORINFO structures returned by this call will likely include one with a dwStatus of RIL_OPSTATUS_CURRENT which will be the name of the network operator you are currently connected to.

Be aware that the call to RIL_GetOperatorList can take quite a few seconds to complete since it is, in effect, searching for available networks.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文