开发者

Can I use EnableStatic for configuring an IPv6 addres (using WMI)?

I would like to use WMI (in C++) to configure a static IPv6 address.

Configuring a static IPv4 address is working fine using EnableStatic, which is part of a WMI class named Win3开发者_Go百科2_NetworkAdapterConfiguration.

Can anyone help me configure an IPv6 address using WMI? I have been looking for example code, but have not found any.


No.

According to the Win32_NetworkAdapterConfiguration documentation on the MSDN web site, this API supports limited IPv6 functionality (looks like it's limited to just reading addresses on an interface) starting in Windows Vista.

You might also want to look at this article: IPv6 and IPv4 Support in WMI.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜