G
Guest
All,
Please note the following:
IPAddress ip = IPAddress.Parse(“10.1.176.10â€);
Works fine, as expected, as does:
bool good = IPAddress.TryParse(“10.1.176.10â€);
Both return the proper result. HOWEVER…
IPAddress ip = IPAddress.Parse(“10.1.176â€);
Also works fine? It creates an IP address object, which when examined became
“10.1.0.176� WTF?
Note that this also returned true:
bool good = IPAddress.TryParse(“10.1.176â€);
Am I simply out of luck until version 3? Is this a known issue? Am I the one
who’s wrong, but just don’t see it? (wouldn't surprise me)
For the life of me I can’t understand how TryParse() could return true on an
IP address with only 3 octets?
Please advise….
Thanks,…Jason
Jason Scott Shatzkamer
Director of IT / Ecommerce
Corporate Express
954.379.5415
(e-mail address removed)
Please note the following:
IPAddress ip = IPAddress.Parse(“10.1.176.10â€);
Works fine, as expected, as does:
bool good = IPAddress.TryParse(“10.1.176.10â€);
Both return the proper result. HOWEVER…
IPAddress ip = IPAddress.Parse(“10.1.176â€);
Also works fine? It creates an IP address object, which when examined became
“10.1.0.176� WTF?
Note that this also returned true:
bool good = IPAddress.TryParse(“10.1.176â€);
Am I simply out of luck until version 3? Is this a known issue? Am I the one
who’s wrong, but just don’t see it? (wouldn't surprise me)
For the life of me I can’t understand how TryParse() could return true on an
IP address with only 3 octets?
Please advise….
Thanks,…Jason
Jason Scott Shatzkamer
Director of IT / Ecommerce
Corporate Express
954.379.5415
(e-mail address removed)