mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-09 15:19:07 +08:00
(GarUpdate): set SecurityProtocol property.
This commit is contained in:
@@ -44,6 +44,7 @@ namespace GARbro.GUI
|
||||
|
||||
private void InitUpdatesChecker ()
|
||||
{
|
||||
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;
|
||||
var update_url = App.Resources["UpdateUrl"] as Uri;
|
||||
m_updater = new GarUpdate (this, update_url);
|
||||
m_updater.CanExecuteChanged += (s, e) => CommandManager.InvalidateRequerySuggested();
|
||||
|
||||
Reference in New Issue
Block a user