OP 21 July, 2018 - 10:24 AM
Ever want to generate account or many different strings from a website into a text box with a click of a button?
the simple coding is shown in this thread
so first of all, you have to put at the top of the code,
using System.Net;
next
inside the button you have to do something like this
var accounts = new WebClient().DownloadString("Link here").Split('\n');
TextBox1.Text = accounts[new Random().Next(0, accounts.Length)];
obviously where it says "Link here" is where you put the link, keep the "" there though
Please like if this helped :)
the simple coding is shown in this thread
so first of all, you have to put at the top of the code,
using System.Net;
next
inside the button you have to do something like this
var accounts = new WebClient().DownloadString("Link here").Split('\n');
TextBox1.Text = accounts[new Random().Next(0, accounts.Length)];
obviously where it says "Link here" is where you put the link, keep the "" there though
Please like if this helped :)