Пример #1
0
 public IPAddress ParseIp(string ipAddress)
 {
     return(IpAddressUtil.ParseIp(ipAddress));
 }
Пример #2
0
 public bool ContainsIp(string ipRule, string clientIp)
 {
     return(IpAddressUtil.ContainsIp(ipRule, clientIp));
 }
Пример #3
0
 public bool ContainsIp(List <string> ipRules, string clientIp, out string rule)
 {
     return(IpAddressUtil.ContainsIp(ipRules, clientIp, out rule));
 }