I am trying to create a application that will consume RSS data using .NET Framework. The RSS site requires User name and Password to start with. and Am running this applicat
If this code works, then your original code above was wrong. You should set
request.Proxy.Credentials = CredentialCache.DefaultNetworkCredentials;
and
NetworkCredential nc = new NetworkCredential("SITEUSERNAME", "SITEPASSWORD");
CredentialCache cache = new CredentialCache();
cache.Add(new Uri(RSSFeed), "Basic", nc);
cache.Add(new Uri(RSSFeed), "Ntlm", new NetworkCredential("USERNAME","PASSWORD","DOAMIN"));
HttpWebRequest myHttpWebRequest = (HttpWebRequest)WebRequest.Create(RSSFeed);
myHttpWebRequest.Credentials = cache;
In other words, you had exchanged credentials for the proxy and the destination server.