摘要:
public static string NumToIp(long ipLong) { string strip = ""; long ip1, ip2, ip3, ip4; ip1 = ipLong/16777216; //16777216=2^24 ip2 = ipLong%16777216/65536; //65536=2^16 ip3 = (ipLong%16777216%65536)/256; //256=2^8; ip4 = ipLong%16777216%65536%256; strip = ip1.ToString() + "." + ip2.ToString() + "." 阅读全文