凉面优美2023-10-31 06:11:31
/// /// 格式化ip地址并返回ip字符串 /// /// Request.UserHostAddress 用来获取ip地址的 /// public string GetIpAddress(string strIpAddress) { string tempIp = string.Empty; //存储变换后的IP if (strIpAddress.Length != 0) { int indexIp = strIpAddress.LastIndexOf('.'); tempIp = strIpAddress.Substring(0, indexIp + 1) + "**"; /
41赞