GibbsUSA.net Blogs
Tuesday, February 07, 2012
Logon Blogs Home GibbsUSA.net Home
Personal blog for C#- Real problems- Real solutions!
Uri myuri = new Uri("http://" + System.Web.HttpContext.Current.Request.ServerVariables.Get("HTTP_HOST") + "/" + Request.QueryString["source"].ToString()); WebRequest myRequest = System.Net.HttpWebRequest.Create(myuri); System.Net.IWebProxy proxyObject = new System.Net.WebProxy("http://dummy:80", true); myRequest.Credentials = System.Net.CredentialCache.DefaultCredentials; myRequest.Proxy = proxyObject; Stream result = myRequest.GetResponse().GetResponseStream(); navDocument.Load(result);
CLR v2.0.50727.3625
Please see the site Terms And Conditions and the site Privacy Statement.This entire web site (and the software contents therein) is Copyright © Chris Gibbs 2000-2012. Any reproduction or copying is expressly forbidden without the prior consent of Chris Gibbs. For more information, please contact the site WebMaster (WebMaster@GibbsUSA.net).