Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



 3129

Simple account generator code [C#]

by icycracks - 21 July, 2018 - 10:24 AM
This post is by a banned member (icycracks) - Unhide
icycracks  
Registered
17
Posts
10
Threads
6 Years of service
#1
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 :)
This post is by a banned member (AmTurtle) - Unhide
AmTurtle  
Registered
56
Posts
12
Threads
6 Years of service
#2
Me being the noob I am, what would the link be?
Please wait while I attempt to care.
[Image: jcOkQaU.gif]
This post is by a banned member ((DANK)) - Unhide
(DANK)  
Registered
410
Posts
65
Threads
6 Years of service
#3
(23 August, 2018 - 01:19 AM)AmTurtle Wrote: Show More
Me being the noob I am, what would the link be?

a link to a pastebin or som shit
This post is by a banned member (Her) - Unhide
Her  
Angelic
2.213
Posts
412
Threads
6 Years of service
#4
alright ill try this code
This post is by a banned member (megeeworld) - Unhide
This post is by a banned member (dread) - Unhide
dread  
Registered
32
Posts
0
Threads
5 Years of service
#6
(21 July, 2018 - 10:24 AM)icycracks Wrote: Show More
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

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 2 Guest(s)