public bool IsRunningDhcp(String ifName)
        {
            IAdapter intf = FindAdapter(ifName);

            if (intf == null)
            {
                throw new Exception("IsRunningDhcp");
            }
            else
            {
                HostConfiguration hostConfiguration = IP.GetHostConfiguration();
                return(hostConfiguration.IsRunningDhcp(intf));
            }
        }