示例#1
0
文件: IpParser.cs 项目: Poepon/JK
 public static IPAddress ParseIp(string ipAddress)
 {
     return(IpAddressUtil.ParseIp(ipAddress));
 }
示例#2
0
文件: IpParser.cs 项目: Poepon/JK
 public static bool ContainsIp(string ipRule, string clientIp)
 {
     return(IpAddressUtil.ContainsIp(ipRule, clientIp));
 }
示例#3
0
文件: IpParser.cs 项目: Poepon/JK
 public static bool ContainsIp(List <string> ipRules, string clientIp, out string rule)
 {
     return(IpAddressUtil.ContainsIp(ipRules, clientIp, out rule));
 }