Example #1
0
        public static bool GetFfoDCPublicIPAddresses(out MultiValuedProperty <IPRange> ffoIPs)
        {
            ffoIPs = null;
            IConfigurable obj = null;

            if (HygieneDCSettings.InvokeFindDCSettingsMethod(out obj))
            {
                ffoIPs = (HygieneDCSettings.ffoDCPublicIPsProperty.GetValue(obj, null) as MultiValuedProperty <IPRange>);
                return(true);
            }
            return(false);
        }
Example #2
0
        public static bool GetSettings(out MultiValuedProperty <IPRange> ffoIPs, out MultiValuedProperty <SmtpX509IdentifierEx> ffoSmtpCerts, out MultiValuedProperty <ServiceProviderSettings> serviceProviderSettings)
        {
            ffoIPs                  = null;
            ffoSmtpCerts            = null;
            serviceProviderSettings = null;
            IConfigurable obj = null;

            if (HygieneDCSettings.InvokeFindDCSettingsMethod(out obj))
            {
                ffoIPs                  = (HygieneDCSettings.ffoDCPublicIPsProperty.GetValue(obj, null) as MultiValuedProperty <IPRange>);
                ffoSmtpCerts            = (HygieneDCSettings.ffoFrontDoorSmtpCertificatesProperty.GetValue(obj, null) as MultiValuedProperty <SmtpX509IdentifierEx>);
                serviceProviderSettings = (HygieneDCSettings.serviceProvidersProperty.GetValue(obj, null) as MultiValuedProperty <ServiceProviderSettings>);
                return(true);
            }
            return(false);
        }