C# Auto Updater Library Tutorial - 7 - SharpUpdateDownloadForm class

preview_player
Показать описание
This is the BEST .NET auto updater on YouTube!

In the C# Auto Updater Tutorial series, we learn how to create a library that will allow you to update any .NET application from the web. SharpUpdate (the library we create) is a multi-threaded .NET application updater that won't freeze any Windows Forms applications while checking for updates or downloading them. Follow along if you want to learn how to make this awesome application updater!

In Part 7 of this C# Auto Updater Tutorial, we write the SharpUpdateDownloadForm class. This form is shown while the update is downloading and hashing the file to verify the download's integrity.
Рекомендации по теме
Комментарии
Автор

Yep! You sure can! Build it just like I do in this tutorial (in a separate class library) and you can just reference it from your other apps! This updates only standalone applications (one main exe file) but I'm working on an updater series for a complete, multi-file updater :)

BetterCoder
Автор

Amazing tutorial series! Is this Sharp Update library universal? As in I can implement it to other applications other than the one I'm designing it with?

ThatGuyNamedBender
Автор

Just in case this is useful to anyone else, with numbers like these I find it's often easier to write (and remember!) them in hex. For example in C# we could write:
if (newBytes >= && newBytes < {  }
if (newBytes >= && newBytes < {  }

adamlay
Автор

it's nots work i can't find Hasher

NguyenTruong-dped
Автор

Help me, I got an error that the "md5" (this.md5) is missing or the SharpUpdaterDownloadForm does not contain a definition for md5

quick reply please

UbergonMX
Автор

Be careful here.
At the end of the last Video, the SharpUpdateInfoForm class and the constructor are public,
At the beginning of this Video they are internal. BetterCoder did not mention that.
They have to be internal, otherwise you get an "Inconsistent Accessibility: Parameter type is less accessible than method" error.

Cheers

tezuya
Автор

Is anyone else having trouble with the e.ProgressPercentage; the e.ByteReceived th e.TotalBytesToReceive the FormatBytes an some others?

hereticstanlyhalo