Get all IPv6 addresses on all interfaces (Windows)
I have a solution using WMI, unfortunately only on Windows Vista and above. On WinXP/2003 WMI will only return IPv4 adresses. Is t开发者_如何学运维here any way to get all assigned addresses including IPv6 ones on WinXP?
Adt: No .NET, just WMI or WinAPI please.
Well, after some more hours of googling, I finally found GetAdaptersAddresses() in the MSDN library.
Sometimes you just use the wrong search terms it seems.
精彩评论