Добрый день.
Пытаюсь через АПИ blockchain.info закачать историю кошелька:
string url = @"https://blockchain.info/rawaddr/385cR5DM96n1HvBDMzLHPYcw89fZAXULJP";
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
request.Method = "GET";
request.Accept = "application/json";
request.UserAgent = "Mozilla/5.0 ....";
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
WebResponse httpResponse = request.GetResponse();
StreamReader reader = new StreamReader(httpResponse.GetResponseStream());
history = JsonConvert.DeserializeObject(reader.ReadToEnd());
Код на C#.
И почему то на строке
WebResponse httpResponse = request.GetResponse();
Вылетает с ошибкой:
Additional information: Запрос был прерван: Не удалось создать защищенный канал SSL/TLS
Подскажите, пожалуйста, что делаю не так?