c#写的自动更新程序源码

上传者: u010461203 | 上传时间: 2021-07-06 21:02:25 | 文件大小: 304KB | 文件类型: ZIP
1.根目录里有AutoUpdate.ini文件用于配置下载url地址及完毕后自启程序 2.原理:访问配置里指定文件(可以是txt文件),获得返回数据,与上次更新返回数据对比,如果不一致则更新. 3.注意事项:把要更新的内容打成zip包,把zip的访问名做为返回数据,程序下载此zip到本地后会自动解压,复盖旧的文件实现更新 4.更新时有进度条,因为是c#写的,需framework2.0以上环境

文件下载

资源详情

[{"title":"( 51 个子文件 304KB ) c#写的自动更新程序源码","children":[{"title":"UpdateClient","children":[{"title":".vs","children":[{"title":"autoUpdate","children":[{"title":"v16","children":[{"title":".suo <span style='color:#111;'> 73.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Release","children":[{"title":"autoUpdate.log <span style='color:#111;'> 447B </span>","children":null,"spread":false},{"title":"AutoUpdate.exe <span style='color:#111;'> 33.00KB </span>","children":null,"spread":false},{"title":"AutoUpdate.ini <span style='color:#111;'> 346B </span>","children":null,"spread":false},{"title":"ICSharpCode.SharpZipLib.dll <span style='color:#111;'> 188.00KB </span>","children":null,"spread":false},{"title":"AutoUpdate.pdb <span style='color:#111;'> 57.50KB </span>","children":null,"spread":false},{"title":"AutoUpdate.exe.config <span style='color:#111;'> 161B </span>","children":null,"spread":false}],"spread":true},{"title":"Debug","children":[{"title":"ICSharpCode.SharpZipLib.dll <span style='color:#111;'> 188.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Form1.Designer.cs <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false},{"title":"UpdateClient.suo <span style='color:#111;'> 35.00KB </span>","children":null,"spread":false},{"title":"autoUpdateForLis.txt此文件切记用ansi码 <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"autoupdate.ico <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"AutoUpdate.ini <span style='color:#111;'> 331B </span>","children":null,"spread":false},{"title":"GT.suo <span style='color:#111;'> 21.00KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 888B </span>","children":null,"spread":false},{"title":"autoUpdate.csproj <span style='color:#111;'> 6.83KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Release","children":[{"title":"AutoUpdate.exe <span style='color:#111;'> 33.00KB </span>","children":null,"spread":false},{"title":"AutoUpdate.Properties.Resources.resources <span style='color:#111;'> 6.76KB </span>","children":null,"spread":false},{"title":"AutoUpdate.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":".NETFramework,Version=v4.0.AssemblyAttributes.cs <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"autoUpdate.csproj.CopyComplete <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"AutoUpdate.pdb <span style='color:#111;'> 57.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.67KB </span>","children":null,"spread":false},{"title":"autoUpdate.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 6.59KB </span>","children":null,"spread":false},{"title":"autoUpdate.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </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":".NETFramework,Version=v4.0,Profile=Client.AssemblyAttributes.cs <span style='color:#111;'> 238B </span>","children":null,"spread":false},{"title":"autoUpdate.csproj.GenerateResource.cache <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"AutoUpdate.CustomForm.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"autoUpdate.csprojAssemblyReference.cache <span style='color:#111;'> 5.42KB </span>","children":null,"spread":false}],"spread":false},{"title":"Debug","children":null,"spread":false}],"spread":true},{"title":"BkImage.cs <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false},{"title":"Resources","children":[{"title":"bg.png <span style='color:#111;'> 4.81KB </span>","children":null,"spread":false},{"title":"button.png <span style='color:#111;'> 29.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"CustomForm.Designer.cs <span style='color:#111;'> 4.86KB </span>","children":null,"spread":false},{"title":"CustomButton.cs <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"Form2.cs <span style='color:#111;'> 5.57KB </span>","children":null,"spread":false},{"title":"Form1.cs <span style='color:#111;'> 6.77KB </span>","children":null,"spread":false},{"title":"app.config <span style='color:#111;'> 161B </span>","children":null,"spread":false},{"title":"UnZipClass.cs <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.88KB </span>","children":null,"spread":false},{"title":"autoUpdate.sln <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"CustomForm.cs <span style='color:#111;'> 12.83KB </span>","children":null,"spread":false},{"title":"CustomForm.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"autoUpdate.csproj.user <span style='color:#111;'> 495B </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.resx <span style='color:#111;'> 6.28KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.34KB </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;'> 3.52KB </span>","children":null,"spread":false}],"spread":false},{"title":"XMLUse.cs <span style='color:#111;'> 4.99KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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