C#中字符串转换为IPAdress

IPAddress.Parse("127.0.0.1")

原文地址:https://www.cnblogs.com/jolab/p/4872183.html