Merge pull request #1985 from uenz/fix/AboutController
Define security protocol
This commit is contained in:
commit
6ebda3a1d6
|
@ -61,6 +61,8 @@ namespace SparkleShare {
|
|||
UpdateLabelEvent ("Checking for updates…");
|
||||
Thread.Sleep (500);
|
||||
|
||||
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
|
||||
|
||||
var web_client = new WebClient ();
|
||||
var uri = new Uri ("https://www.sparkleshare.org/version");
|
||||
|
||||
|
|
Loading…
Reference in a new issue