From 217d67e163772252653f915f7ff35bc1446fb632 Mon Sep 17 00:00:00 2001 From: Ovler Date: Sun, 23 Oct 2022 23:53:52 +0800 Subject: [PATCH] Revert "Update Form1.cs" This reverts commit 5a59217c68247ac340e570a9431184fe527a34b7. --- AdnmbBackup-gui/Form1.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AdnmbBackup-gui/Form1.cs b/AdnmbBackup-gui/Form1.cs index 8d00f4a..fe02003 100644 --- a/AdnmbBackup-gui/Form1.cs +++ b/AdnmbBackup-gui/Form1.cs @@ -57,8 +57,8 @@ private void button1_Click(object sender, EventArgs e) var t = http.GetAsync(url + "?id=" + id + "&page=1"); t.Wait(); var result = t.Result; - label4.Text = "0"; - var t2 = result.Content.ReadAsStringAsync(); + label4.Text = "5"; + var t2 = result.Content.ReadAsByteArrayAsync(); t2.Wait(); var bytes = t2.Result; var str = ReadGzip(bytes);