public IPNetwork GetIPNetwork(IpContainer ipContainer)
 {
     return(IPNetwork.Parse(ipContainer.Address, ipContainer.Subnet));
 }
        public System.Net.IPAddressCollection GetIpRange(IpContainer ipContainer)
        {
            IPNetwork ipnetwork = GetIPNetwork(ipContainer);

            return(IPNetwork.ListIPAddress(ipnetwork));
        }