SobekCM.Core.Configuration.Engine.Engine_RestrictionRange.Add_IP_Range C# (CSharp) Method

Add_IP_Range() public method

Add a new (single IP) ip value to this range
public Add_IP_Range ( string Label, string IpAddress ) : void
Label string Descriptive label for this particular IP address(es)
IpAddress string IP address, or the beginning of a range of IP addresses
return void
        public void Add_IP_Range(string Label, string IpAddress )
        {
            Engine_IpRange singleIpRange = new Engine_IpRange {Label = Label, StartIp = IpAddress};
            IpRanges.Add(singleIpRange);
        }