Jump to content
  • Advertisement
Sign in to follow this  
The Weather Guy

Downloading Data from the internet

This topic is 2499 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello everyone. I have a program written in XNA That needs to download some data from the internet. What should I do to accomplish this?

By that I mean:

1. Where do I execuite the "void" from, do I need to open a new thread? If so how?
a. It will need to be able to access declared values (string, int, bool, vector2, rectangle)

Thanks.

Share this post


Link to post
Share on other sites
Advertisement
I think the lack of replies is because it's not very clear what you actually mean. I was fine with "downloading data from the Internet", but then...

1. What do you mean 'execute the void'?
2. What will need to access variables ('declared values')?

But I'm going to take a stab in the dark and point you towards WebClient in the first instance.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!