C# 开发的通用升级更新程序

上传者: qq592691117 | 上传时间: 2020-12-17 09:17:01 | 文件大小: 1.87MB | 文件类型: ZIP
WPF开发的通用升级更新程序。 原理:(下载压缩包并解压覆盖。) 1、主程序启动时调用 更新程序 exe 2、通过HTTP请求访问 获取最新程序版本号与 下载地址 3、比对当前程序版本是否一致 4、不一致则下载 对应地址的zip压缩包。(必须是zip格式,主程序exe 必须在根目录) 5、关闭主程序 解压当zip 文件到跟新程序exe同目录 6、自动重启主程序。 退出更新程序 (进度条没做好。自行优化吧。)

文件下载

资源详情

[{"title":"( 59 个子文件 1.87MB ) C# 开发的通用升级更新程序","children":[{"title":"AutoUpdate","children":[{"title":".vs","children":[{"title":"AutoUpdate","children":[{"title":"v15","children":[{"title":".suo <span style='color:#111;'> 62.00KB </span>","children":null,"spread":false},{"title":"Server","children":[{"title":"sqlite3","children":[{"title":"storage.ide <span style='color:#111;'> 1.30MB </span>","children":null,"spread":false},{"title":"storage.ide-shm <span style='color:#111;'> 32.00KB </span>","children":null,"spread":false},{"title":"db.lock <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"storage.ide-wal <span style='color:#111;'> 3.95MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"AutoUpdate","children":[{"title":"versionEntity.cs <span style='color:#111;'> 923B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"AutoUpdate.exe <span style='color:#111;'> 25.00KB </span>","children":null,"spread":false},{"title":"ICSharpCode.SharpZipLib.dll <span style='color:#111;'> 184.00KB </span>","children":null,"spread":false},{"title":"log.txt <span style='color:#111;'> 88B </span>","children":null,"spread":false},{"title":"AutoUpdate.exe.Config <span style='color:#111;'> 410B </span>","children":null,"spread":false},{"title":"AutoUpdate.pdb <span style='color:#111;'> 55.50KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 528.00KB </span>","children":null,"spread":false},{"title":"Log","children":[{"title":"20180824.log <span style='color:#111;'> 120B </span>","children":null,"spread":false}],"spread":true},{"title":"1.txt <span style='color:#111;'> 3B </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 525.86KB </span>","children":null,"spread":false},{"title":"Update_tmp","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"App.xaml <span style='color:#111;'> 374B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"AutoUpdate.g.resources <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"App.g.i.cs <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"AutoUpdate.csproj.CopyComplete <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"AutoUpdate_MarkupCompile.lref <span style='color:#111;'> 59B </span>","children":null,"spread":false},{"title":"AutoUpdate.exe <span style='color:#111;'> 25.00KB </span>","children":null,"spread":false},{"title":"AutoUpdate.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"App.g.cs <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"AutoUpdate_MarkupCompile.i.lref <span style='color:#111;'> 59B </span>","children":null,"spread":false},{"title":"AutoUpdate_MarkupCompile.i.cache <span style='color:#111;'> 239B </span>","children":null,"spread":false},{"title":"AutoUpdate.pdb <span style='color:#111;'> 55.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 7.18KB </span>","children":null,"spread":false},{"title":"MainWindow.g.cs <span style='color:#111;'> 4.14KB </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 670B </span>","children":null,"spread":false},{"title":"AutoUpdate.csproj.GenerateResource.cache <span style='color:#111;'> 954B </span>","children":null,"spread":false},{"title":"AutoUpdate_MarkupCompile.cache <span style='color:#111;'> 238B </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"AutoUpdate_Content.g.cs <span style='color:#111;'> 655B </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"AutoUpdate.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"MainWindow.g.i.cs <span style='color:#111;'> 4.14KB </span>","children":null,"spread":false},{"title":"AutoUpdate.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"AutoUpdate_Content.g.i.cs <span style='color:#111;'> 655B </span>","children":null,"spread":false},{"title":"MainWindow.baml <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"LogTextHelper.cs <span style='color:#111;'> 4.94KB </span>","children":null,"spread":false},{"title":"App.xaml.cs <span style='color:#111;'> 691B </span>","children":null,"spread":false},{"title":"JsonTools.cs <span style='color:#111;'> 508B </span>","children":null,"spread":false},{"title":"AutoUpdate.csproj.user <span style='color:#111;'> 228B </span>","children":null,"spread":false},{"title":"Library","children":[{"title":"ICSharpCode.SharpZipLib.dll <span style='color:#111;'> 184.00KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 528.00KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 525.86KB </span>","children":null,"spread":false}],"spread":true},{"title":"HttpUtil.cs <span style='color:#111;'> 16.77KB </span>","children":null,"spread":false},{"title":"AutoUpdate.csproj <span style='color:#111;'> 4.93KB </span>","children":null,"spread":false},{"title":"App.config <span style='color:#111;'> 625B </span>","children":null,"spread":false},{"title":"MainWindow.xaml <span style='color:#111;'> 940B </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false}],"spread":false},{"title":"MainWindow.xaml.cs <span style='color:#111;'> 10.59KB </span>","children":null,"spread":false}],"spread":false},{"title":"AutoUpdate.sln <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • Why_n :
    可以,不错
    2018-12-28

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明