Currently this code is executed on a system and will return whether IPV6 is supported depending on which network adapters are configured, which can change during the lifetime of the application.

So this would effectively hardcode the status of ipv6 to the status it had at startup, not the dynamic state.