G
Gander
Guest
Basicly this works like the URL function in Java.
Do with what you want w/ recieve.
Also programming and teaching C# for runescape or paypal money.
I'm also very familiar w/ php,html,mysql,D, And Java.
Also some of you may know me, i'm very famous among Runescape private servers, I made (rs-server.net) Sadly, dead, I got fucked over by that nub Kevin
Anyway, enough of my life story, enjoy the tutorial
Code:
using System;
using System.IO;
using System.Net;
public class grabSource{
public static void main(string[] args){
String recieve;
try
{
WebRequest url = WebRequest.Create("http://google.com");
WebResponse response = url.GetResponse();
StreamReader input = new StreamReader(response.GetResponseStream());
recieve = input.ReadToEnd().ToString();
Console.WriteLine(recieve);
url.Close();
input.Close();
response.Close();
}
catch(Exception ee){
Console.WriteLine(ee.ToString());
}
}
}
Do with what you want w/ recieve.
Also programming and teaching C# for runescape or paypal money.
I'm also very familiar w/ php,html,mysql,D, And Java.
Also some of you may know me, i'm very famous among Runescape private servers, I made (rs-server.net) Sadly, dead, I got fucked over by that nub Kevin
Anyway, enough of my life story, enjoy the tutorial