如何判断IP地址是否正确

public bool IsIp(string ip)         {             bool b = true;             string[] lines = new string[4];             string s = ".";             lines = ip.Split(s.ToCharArray(), 4);//分割字符串      
相关文章
相关标签/搜索