T Tim Haughton Aug 4, 2005 #2 What do you mean by valid? If you mean well formed, the Parse method will take care of that for you. Have a look at some quick starts... http://samples.gotdotnet.com/quickstart/ Or maybe the MSDN... http://msdn.microsoft.com/library/d...ef/html/frlrfsystemnetipaddressclasstopic.asp -- Regards, Tim Haughton Agitek http://agitek.co.uk http://blogitek.com/timhaughton
What do you mean by valid? If you mean well formed, the Parse method will take care of that for you. Have a look at some quick starts... http://samples.gotdotnet.com/quickstart/ Or maybe the MSDN... http://msdn.microsoft.com/library/d...ef/html/frlrfsystemnetipaddressclasstopic.asp -- Regards, Tim Haughton Agitek http://agitek.co.uk http://blogitek.com/timhaughton
O Octavio Hernandez Aug 4, 2005 #3 David, In .NET 2.0 you will have the IPAddress.TryParse(string) method, which returns true or false: http://msdn2.microsoft.com/library/ms144109(en-us,vs.80).aspx Regards - Octavio
David, In .NET 2.0 you will have the IPAddress.TryParse(string) method, which returns true or false: http://msdn2.microsoft.com/library/ms144109(en-us,vs.80).aspx Regards - Octavio
V Vadym Stetsyak Aug 4, 2005 #4 What do you mean by valid? You mean correctly parsed, or that the IP exists on the net?