From a465b6eab20dc7c275e028bc4c5889c822ded9fd Mon Sep 17 00:00:00 2001 From: "DESKTOP-RBH716R\\Admin" Date: Mon, 18 Jul 2022 01:52:05 +0530 Subject: [PATCH] TLS code update --- _site/get.ps1 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/_site/get.ps1 b/_site/get.ps1 index ebd026a..e31c03c 100644 --- a/_site/get.ps1 +++ b/_site/get.ps1 @@ -1,7 +1,4 @@ -# Enable TLSv1.2 and TLSv1.3 for compatibility with older clients -$TLS12Protocol = [System.Net.SecurityProtocolType] 'Tls12', 'Tls13' -[System.Net.ServicePointManager]::SecurityProtocol = $TLS12Protocol - +$Tls12 = [Enum]::ToObject([System.Net.SecurityProtocolType], 3072); [System.Net.ServicePointManager]::SecurityProtocol = $Tls12; $DownloadUrl = 'https://raw.githubusercontent.com/massgravel/Microsoft-Activation-Scripts/master/MAS/All-In-One-Version/MAS_1.5_AIO_CRC32_21D20776.cmd' $FilePath = "$env:USERPROFILE\Desktop\MAS_1.5_AIO_CRC32_21D20776.cmd"