mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 13:45:34 +08:00
(GarUpdate): set SecurityProtocol property.
This commit is contained in:
parent
3d7ffa7f24
commit
166f691d3a
@ -44,6 +44,7 @@ namespace GARbro.GUI
|
|||||||
|
|
||||||
private void InitUpdatesChecker ()
|
private void InitUpdatesChecker ()
|
||||||
{
|
{
|
||||||
|
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;
|
||||||
var update_url = App.Resources["UpdateUrl"] as Uri;
|
var update_url = App.Resources["UpdateUrl"] as Uri;
|
||||||
m_updater = new GarUpdate (this, update_url);
|
m_updater = new GarUpdate (this, update_url);
|
||||||
m_updater.CanExecuteChanged += (s, e) => CommandManager.InvalidateRequerySuggested();
|
m_updater.CanExecuteChanged += (s, e) => CommandManager.InvalidateRequerySuggested();
|
||||||
|
Loading…
Reference in New Issue
Block a user