public void SetDomainFlag(string domainFqdn, GlsDomainFlags flag, bool value)
        {
            string address = MServDirectorySession.EntryIdForGlsDomainFlag(domainFqdn, flag);

            MServDirectorySession.RemoveMserveEntry(address, value ? 0 : 1);
            MServDirectorySession.AddMserveEntry(address, value ? 1 : 0);
        }
        public bool TryGetDomainFlag(string domainFqdn, GlsDomainFlags flag, out bool value)
        {
            string address = MServDirectorySession.EntryIdForGlsDomainFlag(domainFqdn, flag);
            int    num     = MServDirectorySession.ReadMservEntry(address);

            if (num == -1)
            {
                value = false;
            }
            else
            {
                value = (num > 0);
            }
            return(true);
        }