któryś tam update

This commit is contained in:
Christopher
2021-01-22 13:17:54 +01:00
parent 10fecc540c
commit 4ef651f0eb
14 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -385,7 +385,7 @@ namespace Notatnik
void checkUpdate()
{
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
string urlVersion = "https://raw.githubusercontent.com/KrzysiekSiemv/Notepad/main/version.txt";
string urlVersion = "https://raw.githubusercontent.com/KrzysiekSiemv/Notepad/main/update/version";
WebClient webClient = new WebClient();
Stream stream = webClient.OpenRead(urlVersion);