icycracks

Simple account generator code [C#]

Recommended Posts

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 :)

Share this post


Link to post
Share on other sites

Me being the noob I am, what would the link be?

Share this post


Link to post
Share on other sites

Me being the noob I am, what would the link be?

 

a link to a pastebin or som shit

Share this post


Link to post
Share on other sites

alright ill try this code

Share this post


Link to post
Share on other sites

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 :)

 

thank you very much let's try it

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.