示例#1
0
        internal static void LoadBpaBaseUrlFromRegistry()
        {
            string baseUrlFromRegistry = HelpProvider.GetBaseUrlFromRegistry(HelpProvider.baseBpaUrlFromRegistryPath, "baseBpaHelpUrl");
            string uriString           = string.IsNullOrEmpty(baseUrlFromRegistry) ? "http://technet.microsoft.com/library(EXCHG.150)" : baseUrlFromRegistry;

            HelpProvider.baseUrl = Utilities.NormalizeUrl(new Uri(uriString));
        }
示例#2
0
        internal static void LoadSetupBaseUrlFromRegistry()
        {
            string baseUrlFromRegistry = HelpProvider.GetBaseUrlFromRegistry(HelpProvider.baseSetupUrlFromRegistryPath, "baseSetupHelpUrl");
            string arg = string.IsNullOrEmpty(baseUrlFromRegistry) ? "http://technet.microsoft.com/library(EXCHG.150)" : baseUrlFromRegistry;

            HelpProvider.baseUrl = new Uri(string.Format("{0}/{{0}}{{1}}.aspx", arg));
        }