摘要:
C#获取指定网页HTML原代码可使用WebClientWebRequestHttpWebRequest 三种方式来实现。当然也可使用webBrowse!在此就不研究webBrowse如何获取了。WebClientprivate string GetWebClient(string url){ string strHTML = ""; WebClient myWebClient = new WebClient(); Stream myStream = myWebClient.OpenRead(url); StreamReader sr = new StreamReader(m 阅读全文
摘要:
protected void Page_Load(object sender, EventArgs e) { InvokeSystemPS("query user /server:192.168.1.222"); //test(); ... 阅读全文