/// <summary> /// 获取升级信息 /// </summary> public UpgradeInfo() { //获取官方升级版本列表,并存放到本地upgrade/versionlist.config中 WebUpgrade webupgrade = new WebUpgrade(); string fileContnet = webupgrade.GetVersionList(); StreamWriter writer = new StreamWriter(officialUpgradeini); writer.Write(fileContnet.Replace("\n", "\r\n")); writer.Close(); }
/// <summary> /// 获取升级信息 /// </summary> public UpgradeInfo() { //获取官方升级版本列表,并存放到本地upgrade/versionlist.config中 WebUpgrade webupgrade = new WebUpgrade(); string fileContnet = webupgrade.GetVersionList(); StreamWriter writer = new StreamWriter(officialUpgradeini); writer.Write(fileContnet.Replace("\n", "\r\n")); writer.Close(); }