Bug? IPAddress.Parse("A1") not throwing FormatException

  • Thread starter Thread starter John S.
  • Start date Start date
x86 .NET CF v 2.0.7045.0 (SP2?)
Windows CE 4.2 & 5.0

IPAddress.Parse("A1") returns 0.0.0.101 instead of throwing a
FormatException.

Apparently this is an issue with WSAStringToAddress that is fixed in
CE 6.0.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top