Repack: .net Framework V 4.6.2

Go to content

Repack: .net Framework V 4.6.2

// Enable long paths (app.config or code) AppContext.SetSwitch("Switch.System.IO.UseLegacyPathHandling", false); AppContext.SetSwitch("Switch.System.IO.BlockLongPaths", false);

// Demonstrate TLS 1.2 ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; Console.WriteLine("✅ TLS 1.2 enabled by default in 4.6.2"); .net framework v 4.6.2

using (var client = new HttpClient())

Back to content