From 4a567db4274d3f69c4c9a9fb3b15e8814c2ec071 Mon Sep 17 00:00:00 2001 From: Stone_Red <56473591+Stone-Red-Code@users.noreply.github.com> Date: Mon, 3 May 2021 18:22:19 +0200 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 68b0eb7..6044587 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ private static void Downloader_ProgressChanged(long? totalFileSize, long totalBy } ``` ### Handeling the update -``` +```cs private static void Updater_UpdateAvailible(string version, string additionalInformation) { Console.WriteLine("New Update avalible: " + version); @@ -75,7 +75,7 @@ private static void Updater_UpdateAvailible(string version, string additionalInf } ``` ### Download process reporting -``` +```cs private static void Updater_ProgressChanged(long? totalFileSize, long totalBytesDownloaded, double? progressPercentage) { Console.WriteLine($"{totalBytesDownloaded}/{totalFileSize} {progressPercentage}%");