Update App.xaml.cs
This commit is contained in:
1 parent
2b6ad7533c
commit
74a734f54d
1 file changed
+1
-2
@@ -6,7 +6,6 @@ using System.Net;
|
||||
#if !NET40
|
||||
using System.Runtime;
|
||||
#endif
|
||||
using System.Security.Authentication;
|
||||
using System.Threading;
|
||||
using System.Windows;
|
||||
using HandyControl.Data;
|
||||
@@ -76,7 +75,7 @@ namespace HandyControlDemo
|
||||
ConfigHelper.Instance.SetWindowDefaultStyle();
|
||||
ConfigHelper.Instance.SetNavigationWindowDefaultStyle();
|
||||
|
||||
ServicePointManager.SecurityProtocol = (SecurityProtocolType)(SslProtocols)0x00000C00;
|
||||
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user