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