/// <summary> Add a single IP restriction range to this set </summary> /// <param name="SingleIpAddress"> Single IP address/range (as a string)</param> public void AddIpRange(string SingleIpAddress) { SingleIpRangeV4 range = new SingleIpRangeV4(SingleIpAddress); AddIpRange(range); }
/// <summary> Add a single IP restriction range to this set </summary> /// <param name="StartIpAddress"> First IP address in the range (as a string)</param> /// <param name="EndIpAddress"> Last IP address in the range (as a string)</param> public void AddIpRange(string StartIpAddress, string EndIpAddress) { SingleIpRangeV4 range = new SingleIpRangeV4(StartIpAddress, EndIpAddress); AddIpRange(range); }
/// <summary> Add a single IP restriction range to this set </summary> /// <param name="IpRange"> Single IP range </param> public void AddIpRange(SingleIpRangeV4 IpRange ) { ranges.Add(IpRange); prefixDictionary = null; }