【问题标题】:Can I use EnableStatic for configuring an IPv6 addres (using WMI)?我可以使用 EnableStatic 来配置 IPv6 地址(使用 WMI)吗?
【发布时间】:2011-03-22 13:46:21
【问题描述】:

我想使用 WMI(在 C++ 中)配置静态 IPv6 地址。

使用 EnableStatic 配置静态 IPv4 地址可以正常工作,它是名为 Win32_NetworkAdapterConfiguration 的 WMI 类的一部分。

谁能帮助我使用 WMI 配置 IPv6 地址?我一直在寻找示例代码,但没有找到。

【问题讨论】:

    标签: wmi ip-address ipv6


    【解决方案1】:

    没有。

    根据Win32_NetworkAdapterConfiguration documentation on the MSDN web site,此 API 从 Windows Vista 开始支持有限 IPv6 功能(看起来仅限于读取接口上的地址)。

    您可能还想看看这篇文章:IPv6 and IPv4 Support in WMI

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-02-10
      • 2018-12-05
      • 2015-04-01
      • 2011-03-03
      • 2011-09-09
      • 2017-01-31
      相关资源
      最近更新 更多