mirror of
https://github.com/StudentBlake/XCI-Explorer
synced 2024-11-22 04:03:04 +00:00
Update keys
This commit is contained in:
parent
f5009ac167
commit
4f48285fb1
2 changed files with 4 additions and 4 deletions
|
@ -69,7 +69,7 @@ public partial class MainForm : Form
|
||||||
if (MessageBox.Show("keys.txt is missing.\nDo you want to automatically download it now?\n\nBy pressing 'Yes' you agree that you own these keys.\n", "XCI Explorer", MessageBoxButtons.YesNo) == DialogResult.Yes)
|
if (MessageBox.Show("keys.txt is missing.\nDo you want to automatically download it now?\n\nBy pressing 'Yes' you agree that you own these keys.\n", "XCI Explorer", MessageBoxButtons.YesNo) == DialogResult.Yes)
|
||||||
{
|
{
|
||||||
using HttpClient client = new();
|
using HttpClient client = new();
|
||||||
using HttpResponseMessage response = client.Send(new HttpRequestMessage(HttpMethod.Get, Util.Base64Decode("aHR0cHM6Ly9wYXN0ZWJpbi5jb20vcmF3LzVnN3cxN2tF")));
|
using HttpResponseMessage response = client.Send(new HttpRequestMessage(HttpMethod.Get, Util.Base64Decode("aHR0cHM6Ly9wYXN0ZWJpbi5jb20vcmF3L0Z2M25GRzJR")));
|
||||||
using Stream stream = response.Content.ReadAsStream();
|
using Stream stream = response.Content.ReadAsStream();
|
||||||
using FileStream fs = new("keys.txt", FileMode.CreateNew);
|
using FileStream fs = new("keys.txt", FileMode.CreateNew);
|
||||||
stream.CopyTo(fs);
|
stream.CopyTo(fs);
|
||||||
|
|
|
@ -36,9 +36,9 @@ internal static class Util
|
||||||
10 => "MasterKey9 (9.0.0-9.0.1)",
|
10 => "MasterKey9 (9.0.0-9.0.1)",
|
||||||
11 => "MasterKey10 (9.1.0-12.0.3)",
|
11 => "MasterKey10 (9.1.0-12.0.3)",
|
||||||
12 => "MasterKey11 (12.1.0)",
|
12 => "MasterKey11 (12.1.0)",
|
||||||
13 => "MasterKey12 (13.0.0-?)",
|
13 => "MasterKey12 (13.0.0-13.2.1)",
|
||||||
14 => "MasterKey13",
|
14 => "MasterKey13 (14.0.0-14.1.2)",
|
||||||
15 => "MasterKey14",
|
15 => "MasterKey14 (15.0.0-?)",
|
||||||
16 => "MasterKey15",
|
16 => "MasterKey15",
|
||||||
17 => "MasterKey16",
|
17 => "MasterKey16",
|
||||||
18 => "MasterKey17",
|
18 => "MasterKey17",
|
||||||
|
|
Loading…
Reference in a new issue