Can I use EnableStatic to configure IPv6 addres (using WMI)?

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

Configuring a static IPv4 address works using EnableStatic, which is part of the WMI class named Win32_NetworkAdapterConfiguration.

Can someone help me configure IPv6 address using WMI? I was looking for sample code but not found.

+3
source share
1 answer

No.

According to the Win32_NetworkAdapterConfiguration documentation on the MSDN website , this API supports limited IPv6 functionality (it looks like it is limited only to reading the addresses on the interface), starting with Windows Vista.

: IPv6 IPv4 WMI.

+4

Source: https://habr.com/ru/post/1757092/


All Articles