我在服務器上使用Hit並獲取Streamer
中的內容。 然後我使用一個字符串,我得到網站的HTML代碼。 我必須在WPF應用程序中使用它。 我應該使用哪個控件,在哪裏可以放置一個包含html代碼的網址,以顯示在我的wpf和HOW中?Wpf控件顯示htmlcode
string urlcode;
HttpWebRequest request = WebRequest.Create("http://google.com/") as HttpWebRequest;
HttpWebResponse response = request.GetResponse() as HttpWebResponse;
StreamReader streamr = new StreamReader(response.GetResponseStream());
urlcode = streamr.ReadToEnd();
這裏沒有消息。你爲什麼回答其他人以前回答過的問題? – Clemens 2012-08-15 12:14:24