void Form1_Load(object sender, EventArgs e) { HttpWebRequest hwr = (HttpWebRequest)HttpWebRequest.Create("[URL TO ANY WEBSITE]"); hwr.Proxy = new WebProxy("1.1.1.1"); hwr.ProtocolVersion = HttpVersion.Version11; HttpWebResponse resp = (HttpWebResponse)hwr.GetResponse(); System.IO.StreamReader sr = new System.IO.StreamReader(resp.GetResponseStream()); string s = sr.ReadToEnd(); sr.Close(); richTextBox1.Text = s; }
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)