05-24-2018, 07:28 AM
I used QM to generate an exe file and sent it to my friend. After a few days, the exe file must be updated because of the bug.
I want to implement the following features:
1. After the exe file starts, it will automatically check certain fields in a web page on the Internet. If there is a change, it just prompts that a new file needs to be updated. Is it updated?
2. Then, download the file, download, and display the download progress bar
3. After the download is successful, verify the integrity of the file. If it is complete, delete the old file and run the new file.
What is the simplest and most effective way to check for updates? I hope someone can provide some sample code, any suggestions and comments are welcome, thanks in advance
I want to implement the following features:
1. After the exe file starts, it will automatically check certain fields in a web page on the Internet. If there is a change, it just prompts that a new file needs to be updated. Is it updated?
2. Then, download the file, download, and display the download progress bar
3. After the download is successful, verify the integrity of the file. If it is complete, delete the old file and run the new file.
What is the simplest and most effective way to check for updates? I hope someone can provide some sample code, any suggestions and comments are welcome, thanks in advance