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