实例介绍
WPF 做的软件更新功能,挺好用的。6666666
【实例截图】
【核心代码】
AutoUpdater原始
└── AutoUpdater
├── AutoUpdater
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── AutoUpdater.csproj
│ ├── Base
│ │ ├── ConfigManage.cs
│ │ └── WindowBase.cs
│ ├── bin
│ │ ├── Debug
│ │ │ ├── AutoUpdater.exe
│ │ │ ├── AutoUpdater.pdb
│ │ │ ├── AutoUpdater.vshost.exe
│ │ │ ├── JmwAutoUpdater.vshost.exe.manifest
│ │ │ └── update
│ │ │ ├── update.xml
│ │ │ └── update.zip
│ │ ├── Release
│ │ │ ├── AutoUpdater.exe
│ │ │ └── AutoUpdater.pdb
│ │ └── u
│ │ └── AutoUpdater.exe
│ ├── download.ico
│ ├── Lib
│ │ ├── Constants.cs
│ │ ├── ICCEmbedded
│ │ │ ├── Checksums
│ │ │ │ ├── Adler32.cs
│ │ │ │ ├── CRC32.cs
│ │ │ │ └── IChecksum.cs
│ │ │ ├── Core
│ │ │ │ ├── FileSystemScanner.cs
│ │ │ │ ├── INameTransform.cs
│ │ │ │ ├── IScanFilter.cs
│ │ │ │ ├── NameFilter.cs
│ │ │ │ ├── PathFilter.cs
│ │ │ │ └── StreamUtils.cs
│ │ │ ├── Encryption
│ │ │ │ └── PkzipClassic.cs
│ │ │ ├── SharpZipBaseException.cs
│ │ │ └── Zip
│ │ │ ├── Compression
│ │ │ │ ├── DeflaterConstants.cs
│ │ │ │ ├── Deflater.cs
│ │ │ │ ├── DeflaterEngine.cs
│ │ │ │ ├── DeflaterHuffman.cs
│ │ │ │ ├── DeflaterPending.cs
│ │ │ │ ├── Inflater.cs
│ │ │ │ ├── InflaterDynHeader.cs
│ │ │ │ ├── InflaterHuffmanTree.cs
│ │ │ │ ├── PendingBuffer.cs
│ │ │ │ └── Streams
│ │ │ │ ├── DeflaterOutputStream.cs
│ │ │ │ ├── InflaterInputStream.cs
│ │ │ │ ├── OutputWindow.cs
│ │ │ │ └── StreamManipulator.cs
│ │ │ ├── FastZip.cs
│ │ │ ├── IEntryFactory.cs
│ │ │ ├── ZipConstants.cs
│ │ │ ├── ZipEntry.cs
│ │ │ ├── ZipEntryFactory.cs
│ │ │ ├── ZipException.cs
│ │ │ ├── ZipExtraData.cs
│ │ │ ├── ZipFile.cs
│ │ │ ├── ZipHelperStream.cs
│ │ │ ├── ZipNameTransform.cs
│ │ │ └── ZipOutputStream.cs
│ │ ├── UpdateInfo.cs
│ │ └── Updater.cs
│ ├── obj
│ │ └── x86
│ │ ├── Debug
│ │ │ ├── App.baml
│ │ │ ├── App.g.cs
│ │ │ ├── App.g.i.cs
│ │ │ ├── AutoUpdater_Content.g.i.cs
│ │ │ ├── AutoUpdater.csproj.FileListAbsolute.txt
│ │ │ ├── AutoUpdater.exe
│ │ │ ├── AutoUpdater.g.resources
│ │ │ ├── AutoUpdater_MarkupCompile.cache
│ │ │ ├── AutoUpdater_MarkupCompile.i.cache
│ │ │ ├── AutoUpdater_MarkupCompile.i.lref
│ │ │ ├── AutoUpdater_MarkupCompile.lref
│ │ │ ├── AutoUpdater.pdb
│ │ │ ├── DesignTimeResolveAssemblyReferences.cache
│ │ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ │ ├── Ezhu.AutoUpdater.Properties.Resources.resources
│ │ │ ├── FSLib.App.AutoUpdater.Properties.Resources.resources
│ │ │ ├── GeneratedInternalTypeHelper.g.cs
│ │ │ ├── GeneratedInternalTypeHelper.g.i.cs
│ │ │ ├── GenerateResource.read.1.tlog
│ │ │ ├── GenerateResource.write.1.tlog
│ │ │ ├── JmwAutoUpdater.csproj.FileListAbsolute.txt
│ │ │ ├── JmwAutoUpdater_MarkupCompile.i.cache
│ │ │ ├── MainWindow.g.i.cs
│ │ │ ├── TempPE
│ │ │ │ └── Properties.Resources.Designer.cs.dll
│ │ │ ├── Theme
│ │ │ │ └── Black
│ │ │ │ ├── Style.baml
│ │ │ │ └── WindowBaseStyle.baml
│ │ │ └── UI
│ │ │ ├── AlertWin.baml
│ │ │ ├── AlertWin.g.cs
│ │ │ ├── AlertWin.g.i.cs
│ │ │ ├── Copy of DownFileProcess.g.i.cs
│ │ │ ├── DownFileProcess.baml
│ │ │ ├── DownFileProcess.g.cs
│ │ │ ├── DownFileProcess.g.i.cs
│ │ │ ├── UpdateInfo.g.i.cs
│ │ │ ├── UpdateInfoWin.g.cs
│ │ │ └── UpdateInfoWin.g.i.cs
│ │ └── Release
│ │ ├── App.baml
│ │ ├── App.g.cs
│ │ ├── App.g.i.cs
│ │ ├── AutoUpdater.exe
│ │ ├── AutoUpdater.g.resources
│ │ ├── AutoUpdater_MarkupCompile.cache
│ │ ├── AutoUpdater_MarkupCompile.i.cache
│ │ ├── AutoUpdater_MarkupCompile.i.lref
│ │ ├── AutoUpdater_MarkupCompile.lref
│ │ ├── AutoUpdater.pdb
│ │ ├── DesignTimeResolveAssemblyReferences.cache
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── FSLib.App.AutoUpdater.Properties.Resources.resources
│ │ ├── GeneratedInternalTypeHelper.g.cs
│ │ ├── GeneratedInternalTypeHelper.g.i.cs
│ │ ├── GenerateResource.read.1.tlog
│ │ ├── GenerateResource.write.1.tlog
│ │ ├── JmwAutoUpdater.csproj.FileListAbsolute.txt
│ │ ├── TempPE
│ │ │ └── Properties.Resources.Designer.cs.dll
│ │ ├── Theme
│ │ │ └── Black
│ │ │ ├── Style.baml
│ │ │ └── WindowBaseStyle.baml
│ │ └── UI
│ │ ├── AlertWin.baml
│ │ ├── AlertWin.g.cs
│ │ ├── AlertWin.g.i.cs
│ │ ├── DownFileProcess.baml
│ │ ├── DownFileProcess.g.cs
│ │ └── DownFileProcess.g.i.cs
│ ├── Program.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ ├── Theme
│ │ └── Black
│ │ ├── Style.xaml
│ │ └── WindowBaseStyle.xaml
│ └── UI
│ ├── AlertWin.xaml
│ ├── AlertWin.xaml.cs
│ ├── DownFileProcess.xaml
│ ├── DownFileProcess.xaml.cs
│ ├── UpdateInfoWin.xaml
│ └── UpdateInfoWin.xaml.cs
├── AutoUpdater.sln
├── AutoUpdater.suo
└── Test
├── bin
│ ├── Debug
│ │ ├── AutoUpdater.exe
│ │ ├── AutoUpdater.pdb
│ │ ├── Test.exe
│ │ ├── Test.pdb
│ │ ├── Test.vshost.exe
│ │ └── Test.vshost.exe.manifest
│ ├── Release
│ │ ├── AutoUpdater.exe
│ │ ├── AutoUpdater.pdb
│ │ ├── b.txt
│ │ ├── Test.exe
│ │ ├── Test.pdb
│ │ ├── Test.vshost.exe
│ │ └── Test.vshost.exe.manifest
│ └── Update
│ ├── cd3fa45a-5440-4b78-a661-4184bfe2515a
│ │ ├── AutoUpdater.exe
│ │ ├── temp
│ │ │ └── App
│ │ │ └── aaaaa.txt
│ │ └── update.zip
│ └── d08fdf9b-907d-42e6-aabd-04a34139f09a
│ └── AutoUpdater.exe
├── Form1.cs
├── Form1.Designer.cs
├── obj
│ └── x86
│ ├── Debug
│ │ ├── DesignTimeResolveAssemblyReferences.cache
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── GenerateResource.read.1.tlog
│ │ ├── GenerateResource.write.1.tlog
│ │ ├── ResolveAssemblyReference.cache
│ │ ├── Test.csproj.FileListAbsolute.txt
│ │ ├── Test.exe
│ │ ├── Test.pdb
│ │ └── Test.Properties.Resources.resources
│ └── Release
│ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ ├── GenerateResource.read.1.tlog
│ ├── GenerateResource.write.1.tlog
│ ├── ResolveAssemblyReference.cache
│ ├── Test.csproj.FileListAbsolute.txt
│ ├── Test.exe
│ ├── Test.pdb
│ └── Test.Properties.Resources.resources
├── Program.cs
├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
└── Test.csproj
46 directories, 175 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论