How to Check if a Minecraft Account is Premium in Visual Basic
1. Import System.Net
2. Create a web client to connect to the Minecraft website
Code:
Dim wc As WebClient = New WebClient
3. Tell the WebClient to download the string of a JSP on the Minecraft site
[CODE]wc.DownloadString("minecraftwebsiteurl/haspaid.jsp?user=" & Username.Text)
4. You can put the DownloadString in an If statement to do something if the account is premium. Ex:
Code:
If wc.DownloadString("minecraftwebsiteurl/haspaid.jsp?user=" & Username.Text) = True Then