예제 #1
0
        Dictionary <string, string> channelDirs = new Dictionary <string, string>();              // 渠道目录信息, 配置文件/0000843_奇虎360/V1.8.0_546/

        /// <summary>
        /// 获取“待更新资源目录”
        /// </summary>
        private string getAttach_ConfigUrl()
        {
            string url = "";

            string configInfo = WebSettings.getWebData(DependentFiles.ToolUrl);

            if (!configInfo.Equals(""))
            {
                url = WebSettings.getNodeData(configInfo, "待更新资源目录", true).Trim();
            }
            if (url.Equals(""))
            {
                MessageBox.Show("配置文件" + DependentFiles.ToolUrl + ",中的“待更新资源目录”为空。\r\n请先配置,再使用此工具");
            }

            return(url);
        }