I'm trying to get in VB.Net the updated BTC value from internet.
I'm using this method in a normal private sub.
Dim btcvalue As String = "https://blockchain.info/tobtc?currency=USD&value=1"
Try
Dim reply As String = client.DownloadString(btcvalue)
TextBox1.Text = reply
Catch
End Try
The result is that it get nothing. I've tried to browse blockchain.info with internet explorer and infact it doesn't connect. Seems like the site is blocking that browser, that is used by default by vb.net. I can get the same value from another site but blockchain was more easy cause from that url I had extracted directly the string without putting more code. The same code I used to extract a string from a raw pastebin page worked instead. Internet explorer connect fine to pastebin site.
How can I get a precise string (btc value) from google for example?