Hi !
I'm going to share a code made by me for get the official price of Bitcoin
from blockchain.info !
I call :
LBL_Stats_Price a label in my form !
The code :
That's all !
Bye ! :)
I'm going to share a code made by me for get the official price of Bitcoin
from blockchain.info !
I call :
LBL_Stats_Price a label in my form !
The code :
Code
Public Class Form1
Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs) Handles MyBase.Load
LBL_Stats_Price.Text = "Price of Bitcoin ( from blockchain.info ) : $" & (GetPrice()) & " USD"
End Sub
Function GetPrice() As String
Dim request As New WebClient
Return request.DownloadString("https://blockchain.info/fr/q/24hrprice")
End Function
End ClassThat's all !
Bye ! :)


