Пример #1
0
        public DomainControllerHelper GetDC(string domainDNS)
        {
            DomainControllerHelper ret = default(DomainControllerHelper);

            ret = DCLocator.GetClostesDC(domainDNS);

            return(ret);
        }
Пример #2
0
        public List <DomainControllerHelper> GetDcList(string domainDNS, string ldapPath)
        {
            List <DomainControllerHelper> ret = new List <DomainControllerHelper> {
            };

            ret = DCLocator.DnsGetDomaindDCs(domainDNS, false);

            return(ret);
        }