取对应网址的html源码

        System.Net.WebClient wc = new System.Net.WebClient();
        Byte[] pageData = wc.DownloadData("httP://www");
        string s = System.Text.Encoding.Default.GetString(pageData);

原文地址:https://www.cnblogs.com/yhongl/p/3937938.html