O'Reilly Forums: .net Ipadress Class Is Converting Ipv6 To Mapped Ip Address - O'Reilly Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

.net Ipadress Class Is Converting Ipv6 To Mapped Ip Address .NET IPAdress Class is converting IPv6 to Mapped IP Address

#1 User is offline   anshuman 

  • New Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 24-November 12

Posted 24 November 2012 - 06:43 AM

I have IPv6 string and I want to make the IPAddress object. I tried the following code

String ipString = "2400:3C00:3FFE:0000:0000:5EFE:8999:48AA";
System.Net.IPAddress address;
IPAddress.TryParse(ipString, out address);but address.ToString() is returning the value "2400:3c00:3ffe::5efe:137.153.72.170".

Why this has been converted to mix ip?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users