What's new

How to make Update Function?

Ruby

Ruby

I'm around
Specialist
Sweet Sixteen! Pumpking Server King
Messages
964
Solutions
12
Reaction score
307
Points
410
So I am making a Skype tool in C# just for fun basically. But I don't want to have to personally re-distribute the files every time I update it. How would I get it to where I can upload the files to DropBox and the program could detect off the dropbox if it needs to be updated or not? I got this idea from this video except it is in VB, not C#.
 
A

Auschwitz Guard

Banned
Messages
195
Reaction score
123
Points
85
You would need to purchase server hosting, to store the bytes of the newest exe out, along with a version number that can be compared within the file header. This would be auto-updating, the user will have to reboot their machine afterwards (to make sure the new bytes were successfully written into the file buffer), a more "ghetto" version would be to just upload your file, and create a text document online with your current version, with writing access to change it each new update (with both the uploaded file and text), detecting the new update and opening the link in your browser. I advise the more advanced, efficient method but whatever works for you.
 
Last edited:
Z61

Z61

Some times our saints are sinners
Retired
Programmer Forum Addict Odysseus' Summit
Messages
5,476
Reaction score
3,423
Points
1,042
If it's in VB it's quite easy to convert to C#.
 
Top Bottom
Login
Register