Commit 6d4e79e7 authored by Archnoc's avatar Archnoc

remove win7 fix

parent c0a67729
......@@ -12,13 +12,6 @@ namespace sunrise_launcher
static int Main(string[] args)
{
//windows 7 tls compatibility
if (System.Environment.OSVersion.Platform == PlatformID.Win32NT &&
System.Environment.OSVersion.Version.Major == 6)
{
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
}
using (var fileout = new FileStream("./log.txt", FileMode.Create, FileAccess.Write))
using (var writer = new StreamWriter(fileout))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment