C#下的IP2Long
摘要:
C#下的IP2Long public ulong iptolong(string ip) { string[] cip = ip.Trim().Split('.'); string[] aip = new string[4]; cip.CopyTo(aip,0); if (cip.Length < 3) { for (int i = 3;i>cip.Length; i--) { aip... 阅读全文
posted @ 2007-12-25 14:43 William-ren 阅读(544) 评论(0) 推荐(0) 编辑