This repository has been archived by the owner on Jul 1, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 51
Verifying Files on Server
Süleyman Yasir KULA edited this page May 23, 2019
·
6 revisions
SimplePatchTool can check whether or not all the necessary patch files exist on the server and then verify that their sizes match with the VersionInfo before downloading any files. For this to work, a HEAD request to the file's download url should return response code 200 (OK) and filesize should be stored in Content-Length header.
Please note that you need to call SimplePatchTool.VerifyFilesOnServer(true)
to instruct SimplePatchTool to verify the files on the server.