using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using HtmlAgilityPack; using System.Text.RegularExpressions; using System.Net; using System.IO; using System.IO.Compression;
namespace ConsoleApplication2 { public class Program { static void Main(string[] args) { //var currentUrl = "http://www.mm5mm.com/";
var currentUrl = "http://www.sohu.com/";
var request = WebRequest.Create(currentUrl) as HttpWebRequest;
var response = request.GetResponse() as HttpWebResponse;
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using HtmlAgilityPack; using System.Text.RegularExpressions; using System.Net; using System.IO; using System.IO.Compression;
namespace ConsoleApplication2 { public class Program { static void Main(string[] args) { //var currentUrl = "http://www.mm5mm.com/";
var currentUrl = "http://www.sohu.com/";
var request = WebRequest.Create(currentUrl) as HttpWebRequest;
var response = request.GetResponse() as HttpWebResponse;