How can I use authentication with System.ServiceModel.Syndication to read a private RSS?
The code I use right now just returns forbidden.
I have tried adding &PASS=password and &PASSWORD=password to the URL but it doesnt help.
try
{
using (XmlReader reader = XmlReader.Create("http://trac:8080/Project/report/7?format=rss&USER=enr"))
{
tracFeed = SyndicationFeed.Load(reader);
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}