Beispiel #1
0
        /// <summary>
        /// 从指定的地址导入固定广告至站点中
        /// </summary>
        /// <param name="filePath">指定的导入地址</param>
        /// <param name="overwrite">是否覆盖原有固定广告</param>
        public void ImportAd(string filePath, bool overwrite)
        {
            var adIe = new AdvIe(Fso.PublishmentSystemId, filePath);

            adIe.ImportAd(overwrite);
        }
Beispiel #2
0
        /// <summary>
        /// 导出固定广告至指定的文件地址
        /// </summary>
        /// <param name="filePath"></param>
        public void ExportAd(string filePath)
        {
            var adIe = new AdvIe(Fso.PublishmentSystemId, filePath);

            adIe.ExportAd();
        }