This article is a mirror article of machine translation, please click here to jump to the original article.

View: 22727|Reply: 1

[Source] .NET/C# Configuration Software Automatic Update Tutorial

[Copy link]
Posted on 5/14/2017 7:00:28 PM | | | |
.net/c# Making Software Automatic Updaters [Source Code]
http://www.itsvse.com/thread-3691-1-1.html
(Source: Architect)
In the last lesson, I wrote a mini program for automatic updates, and in this lesson, we will talk about how to use this automatic updater

1: We make "Update.exe" and "ICSharpCode.SharpZipLib.dll" into resource files, as shown in the figure below:



2: We set up an update interface, update the interface, everyone can set it casually, string, json string, get request or post request method,

The following is the json string returned by my request for my own update interface, as follows:

{
    "LatestVersion": "1.1",
    "LatestPath": "http://www.xxx.com/test.zip",
    "Pwd": "123"
}
LatestVersion indicates the latest version, LatestPath indicates the latest version download address, and Pwd indicates the decompression password, haha

3: Our main program, request to update the interface, find that the program version and the program update interface are inconsistent, and then start to execute, our automatic update program.

Renderings:






Previous:.net/c# Making Software Automatic Updaters [Source Code]
Next:How to protect against Wana Decrypt0r ransomware?
Posted on 5/24/2017 6:12:17 PM |
What is the .net/C# Configuring Software Auto-Update Tutorial for?
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com