How to get MC classic server list info in a WPF Project?

How to get MC classic server list info in a WPF Project?

Postby Leeizazombie » 26 Jul 2013, 14:41

I wana make a project that can tell info that if certain servers are on, how do you get the list into a program?
Owner of:
LeeIzaZombie Freebuild and Lava Survival V2 (Shut Down and updated)
LeeIzaZombie Survival (Comming back soon)

Contact:
Skype: leeizazombie
IRC: irc.geekshed.net, #leeizazombie, #mcclassichosting
User avatar
Leeizazombie
 
Posts: 536
Joined: 10 Jun 2013, 17:45
Location: Ireland.

Re: How to get MC classic server list info in a WPF Project?

Postby joppiesaus » 26 Jul 2013, 16:57

Pew. I don't know if there's something (an url where all servers get sycnhed in a list), and then download it and put it in a listbox.
Anyways the download code:
Code: Select all
string adress = "Your URL here!";
WebClient client = new WebClient();
string DOWNLOADED_FROM_INTERNET  = client.DownloadString(adress);
joppiesaus
 
Posts: 379
Joined: 20 Aug 2012, 07:28
Location: in a obsedian house, with glass in it so i can see the lava!

Re: How to get MC classic server list info in a WPF Project?

Postby Leeizazombie » 26 Jul 2013, 17:21

joppiesaus wrote:Pew. I don't know if there's something (an url where all servers get sycnhed in a list), and then download it and put it in a listbox.
Anyways the download code:
Code: Select all
string adress = "Your URL here!";
WebClient client = new WebClient();
string DOWNLOADED_FROM_INTERNET  = client.DownloadString(adress);

Okay, but thank for the code :)
Owner of:
LeeIzaZombie Freebuild and Lava Survival V2 (Shut Down and updated)
LeeIzaZombie Survival (Comming back soon)

Contact:
Skype: leeizazombie
IRC: irc.geekshed.net, #leeizazombie, #mcclassichosting
User avatar
Leeizazombie
 
Posts: 536
Joined: 10 Jun 2013, 17:45
Location: Ireland.

Re: How to get MC classic server list info in a WPF Project?

Postby Conor » 27 Jul 2013, 02:54

You have to get the information from Mojang somehow. I don't think its using the WebClient either, I think its a HTTP web request or something like that, I'm really not sure. I would help you if I could. Read up about it online :)
Conor (Conanza121)
User avatar
Conor
Coder
 
Posts: 390
Joined: 10 Oct 2012, 21:36
Location: @21Conor


Return to Off-Topic

Who is online

Users browsing this forum: No registered users and 3 guests

cron