RSS
 

Archive for May, 2010

Read Web Page

17 May

Simple C# method to grab a webpage and read its contents… The following is used to get an external IP address easily…


System.Net.WebClient myWebClient = new System.Net.WebClient();

using( System.IO.Stream myStream = myWebClient.OpenRead("http://www.geekpedia.com/ip.php")){

System.IO.StreamReader myStreamReader = new System.IO.StreamReader(myStream);

string IP = myStreamReader.ReadToEnd();

}
 
No Comments

Posted in C#

 

Graduated

17 May
Well, It’s finally over, school is complete and I feel I did a pretty good job this semester getting 2 A’s and 2 B’s for a final Grade-point  of 3.00. Check AJ’s blog if you really care to see photos or anything like that
 
No Comments

Posted in Random

 

TanksXNA

05 May

The TanksXNA game is good enough for an initial release, I need to add a Bugs board so people can add bugs they find there.

Anyways without further ado here it is

The XNA redistributable is required in order to run the game, a check is coming later for that.

TanksXNA

Redistributable

 
2 Comments

Posted in C#, XNA