IPAddress.TryParse used as indicated above will declare certain strings as valid, among other cases, 0.0.0.0 is validated successfully which for most uses would probably not be desirable.
↧