locked
Resolving IPV6 from domain name in windows phone using C# RRS feed

  • Question

  • I am not able to find any solution of resolving ipv6 address from domain name in windows phone using c#.Although I tried with 

       var endPoint = new DnsEndPoint(hostName, 80, AddressFamily.InterNetworkV6);
                Microsoft.Phone.Net.NetworkInformation.DeviceNetworkInformation.ResolveHostNameAsync(endPoint, OnNameResolved, null);

     public static void OnNameResolved(Microsoft.Phone.Net.NetworkInformation.NameResolutionResult result)
            {

                IPEndPoint[] endpoints = result.IPEndPoints;
              
            }

    but still IPEndpoints is null . Is there any solution to this problem?? 

    Thanks,


    rrnjn145

    Wednesday, February 8, 2017 12:59 PM